IT/Software/Networking/ZeroTier
Basics
You need to get an account at ZeroTier
You can connect up to 100 computers for free.
After that get another and you get 200.
Install
curl -s https://install.zerotier.com | sudo bash
There is a more complicated(more secure?) script on their download page but I do not get it to work.
Errors 1
- It will not install if your package manager has issues.
sudo apt --fix-broken install
sudo dpkg --configure -a
- Now try the install again.
Errors 2
- You may get 401 errors or "no port. . . " errors
- you need to purge and reinstall.
sudo apt purge zerotier-one
- You may then still need to remove var/lib/zerotier-one
- If you have a snap installed they will not work together
sudo snap remove zerotier-one
Errors 3
Your connection is stuck "OFFLINE" when you
sudo zerotier-cli status
You need to stop and start the service.
sudo systemctl restart zerotier-one
Some sites recommend "stop" and then wait for ten minutes and "start"
Join your network
The scary thing here is you don't need any kind of a password
Once you join you will still need the address of others in the network to access them.
sudo zerotier-cli join XXXXXXXXXXXXXX
No I will not give you my network id!
Summary
That is all there is. In two commands you are connected.