Skip to content

ZeroTier Setup ​

ZeroTier is a virtual overlay network that can allow you to connect any nodes on the global Internet. You can use it to create VPN.

TIP

ZeroTier is not a VPN solution. VPN is just one of the solution you can adopt in its overlay network topology

Setup ​

On peer node

# install zero-tier one
curl -s https://install.zerotier.com | sudo bash

# join zero-tier network
# get network id from zerotier admin console
zerotier-cli join <NETWORK_ID>

Check status

$ /zerotier-cli status
200 info 389edecfd6 1.10.1 ONLINE

Check the peer network (with only one node joined)

$ /zerotier-cli peers
200 peers
<ztaddr>   <ver>  <role> <lat> <link> <lastTX> <lastRX> <path>
62f865ae71 -      PLANET   217 DIRECT 4271     4052     50.7.252.138/9993
778cde7190 -      PLANET   198 DIRECT 4271     4072     103.195.103.66/9993
b15644912e 1.10.1 LEAF     191 DIRECT 1290     8641     35.206.79.5/42863
cafe04eba9 -      PLANET   253 DIRECT 4271     4016     84.17.53.155/9993
cafe9efeb9 -      PLANET   139 DIRECT 1290     4130     104.194.8.134/9993