- Run the shell command under their download page (the more secure, GPG option is recommended).
- To ensure ZeroTier starts on system boot, run
sudo systemctl enable zerotier-one
- Check if everything is working by running
sudo zerotier-cli status
;it should return
200 info [ID] [version] ONLINE
if all is fine - To join the network, run
sudo zerotier-cli join [Network ID]
- Authenticate your device by going to
https://my.zerotier.com/network/[Network ID]
scrolling down to Members and checking the Auth checkbox
- Check that your Raspberry Pi is properly connected by running
sudo zerotier-cli listnetworks
to see
200 listnetworks [...] OK
- To have your Raspberry Pi automatically join the virtual network on system boot, simply run
sudo touch /var/lib/zerotier-one/networks.d/[Network ID].conf
If you have UFW or any other firewall software installed, ensure that you allow traffic going to and from your private IP range
Ref: iamkelv.in