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"
Errors 4
sudo zerotier-cli status Error connecting to the ZeroTier service: connection failed Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.
For some reason the service is not running.
sudo service zerotier-one 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.