Installing on Linux and servers
ZeroTier on Debian, Ubuntu, RHEL, Fedora and Raspberry Pi: useful commands, permission errors, the adapter name and starting at boot.
Linux and servers
Debian, Ubuntu, RHEL, Fedora and more, Raspberry Pi included
One command
Install
curl -s https://install.zerotier.com | sudo bashThe script adds the official repository, so later updates come through apt or dnf. The service starts now and at boot.
Join and look
sudo zerotier-cli join NETWORK_ID
sudo zerotier-cli listnetworksACCESS_DENIED before authorization is normal and turns to OK afterwards.
Useful commands
| Command | What it does |
|---|---|
zerotier-cli status | Online or not, node address |
zerotier-cli peers | Direct or relayed |
zerotier-cli leave with the network ID | Leaves the network |
zerotier-cli set with the ID and an option | Local settings such as allowDefault=1 |
The adapter name
It starts with zt, one per network, and listnetworks prints it. You need it for firewall rules.
Only ZeroTier adapters
ip link show | grep ztThe script says unsupported?
See whether your distribution has zerotier-one, or use Snap or Docker.
Is a Raspberry Pi enough?
Yes. The documentation speaks of under 16 MB of memory; speed depends on the processor.
Pages nearby
- ZeroTier Synology
- ZeroTier client
- ZeroTier Windows
- ZeroTier macOS install
- ZeroTier game not showing
- ZeroTier access home network
- ZeroTier default route
- zerotier-idtool initmoon
Marks: ZeroTier Linux install, zerotier-cli join, ZeroTier Ubuntu