Configure button to enable/disable ZeroTier

Dear all!

Does anybody know how can I request a team developing firmware for mudi, add ZeroTier client switcher?

Thanks,
Denis

Your feedback has been received and we will discuss it.

I am also looking for the same solution for my Mudi. I have installed the zerotier plugin but it does not show up under applications or anywhere else to setup as VPN or client.

We have not developed the zerotier interface for the 3.x version of the firmware, please wait for the 4.x firmware for Mudi.

4.3.2 firmware for Mudi is testing. 3.216 and higher firmware versions will receive an upgrade alert when it is stable. You can also download and install it manually from the Download Center.

After installing the 4.x firmware, you can add the zerotier.sh script to the /etc/gl-switch.d/ path and use the switch button to turn Zerotier on/off.

zerotier.sh

#!/bin/sh

action=$1

if [ "$action" = "on" ];then
        curl -k http://127.0.0.1/rpc -H 'glinet: 1' -d '{"jsonrpc":"2.0","method":"call","params":["","zerotier","set_config",{"lan_enabled":false,"wan_enabled":false,"enabled":true,"id":"xxx"}],"id":1}'
{"id":1,"jsonrpc":"2.0","result":{"err_msg":"parameter error","err_code":1}}
fi

if [ "$action" = "off" ];then
        curl -k http://127.0.0.1/rpc -H 'glinet: 1' -d '{"jsonrpc":"2.0","method":"call","params":["","zerotier","set_config",{"lan_enabled":false,"wan_enabled":false,"enabled":false,"id":"xxx"}],"id":1}'
{"id":1,"jsonrpc":"2.0","result":{"err_msg":"parameter error","err_code":1}}
fi

sleep 5

You need replace xxx to your Zerotier Network ID.

1 Like

Dear team,

Do you have a plan to add a configuration page for the ZeroTier? And Also there is no any indicator on the router that ZeroTier was enabled. Could you please add it?

Thanks,
Denis

It have added in 4.x firmware.
ZeroTier - GL.iNet Router Docs 4 (gl-inet.com)