zerotier.is
AdLuoboyunAn account comes with 1 GB of trial traffic for 24 hours, used with Clash / MihomoPays by Alipay, WeChat, cryptoGet the trialLuoboyun: 1 GB on registrationFor 24 hours, Alipay / WeChat / cryptoGet the trialAd
  1. Home
  2. Download
  3. Linux and servers

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 bash

The 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 listnetworks

ACCESS_DENIED before authorization is normal and turns to OK afterwards.

Useful commands

CommandWhat it does
zerotier-cli statusOnline or not, node address
zerotier-cli peersDirect or relayed
zerotier-cli leave with the network IDLeaves the network
zerotier-cli set with the ID and an optionLocal 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 zt
The 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

Marks: ZeroTier Linux install, zerotier-cli join, ZeroTier Ubuntu