IT/Software/Networking/ZeroTier: Difference between revisions
Walttheboss (talk | contribs) |
Walttheboss (talk | contribs) No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
===Install=== | ===Install=== | ||
<nowiki> curl -s https://install.zerotier.com | sudo bash </nowiki> | <nowiki> curl -s https://install.zerotier.com | sudo bash </nowiki> | ||
There is a more complicated(more secure?) script on their download page but I do not get it to work. | |||
====Errors 1==== | ====Errors 1==== | ||
Line 18: | Line 20: | ||
*Now try the install again. | *Now try the install again. | ||
==== Errors 2 ==== | ====Errors 2==== | ||
*You may get 401 errors or "no port. . . " errors | |||
*you need to purge and reinstall. | |||
<code>sudo apt purge zerotier-one</code> | <code>sudo apt purge zerotier-one</code> | ||
*You may then still need to remove var/lib/zerotier-one | |||
*If you have a snap installed they will not work together | |||
<code>sudo snap remove zerotier-one</code> | |||
==== Errors 3 ==== | |||
Your connection is stuck "OFFLINE" when you | |||
<code>sudo zerotier-cli status</code> | |||
You need to stop and start the service. | |||
<code>sudo systemctl restart zerotier-one</code> | |||
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=== | ===Join your network=== |
Latest revision as of 09:08, 23 September 2024
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.