Zerotier is an open source, cross-platform and easy to use virtual LAN / Hamachi alternative, also available on Android, ios, Mac, Windows. A GUI is only available on Mac and Windows according to the developers.
ZeroTier can be installed with the
You will need to create an account over at My Zerotier and create a network and select your desired options, It can have either IPv4 or IPv6 or both. Keep note of the network id that you will like to use, you will be needing it later on. Leave the network page open that you will use since you will need to authorize each computer or device, also verify that it has an ip
$ sudo zerotier-cli info
200 info 89e92ceee5 1.2.4 ONLINE
where 89e92ceee5 is address and 1.2.4 is the version, followed by its status
Next you will need to run to join a network:
$ sudo zerotier-cli join network_id
The network will be 16 alphanumeric similiar to 8056c2e21c000001 which can be found at the top of the network page under settings.
Back on the network page at my.zerotier, you should see all address that have joined under members. Be sure sure to check the authorize for the desired addresses, and verify that it has IP address. You may need to run dhcpcd to acquire the new IP address locally.
To verify that all devices can see each other you can ping each address with its associated IP, like so
$ ping 192.168.192.91
PING 192.168.192.91 (192.168.192.91) 56(84) bytes of data. 64 bytes from 192.168.192.91: icmp_req=1 ttl=53 time=52.9 ms ...
One can also see connected peers by running:
$ sudo zerotier-cli listpeers
200 listpeers <ztaddr> <path> <latency> <version> <role> 200 listpeers 12ac4a1e71 220.127.116.11/30883;12;12;1.00 589 1.2.5 LEAF 200 listpeers 8841408a2e 18.104.22.168/9993;13262;13220;1.00 127 1.1.5 PLANET 200 listpeers 9d219039f3 22.214.171.124/9993;13241;3218;1.00 63 1.1.5 PLANET ...
and see a list of networks the computer is connected to by running:
$ sudo zerotier-cli listnetworks