zerotier-cli
Manage ZeroTier virtual network connections
TLDR
Show node status
SYNOPSIS
zerotier-cli [options] command [args]
DESCRIPTION
zerotier-cli is the command-line interface for managing ZeroTier One, a software-defined networking (SDN) service that creates secure virtual networks. It communicates with the local zerotier-one service.
ZeroTier creates encrypted peer-to-peer connections between nodes, forming virtual LANs across the internet. Each node gets a unique 10-digit address. Networks are identified by 16-digit network IDs.
After joining a network, nodes can communicate as if on the same LAN, enabling remote access, gaming, and connecting distributed systems. Network membership is managed through ZeroTier Central or self-hosted controllers.
PARAMETERS
-D path
ZeroTier home directory-p port
Local API port-T token
Authentication token
SUBCOMMANDS
status
Show node status and addressinfo
Display node informationjoin network
Join a ZeroTier networkleave network
Leave a ZeroTier networklistnetworks
List joined networkslistpeers
List connected peerslistmoons
List joined moons (custom roots)orbit worldid seed_
Join a moondeorbit worldid_
Leave a moonset network setting value
Configure network settings
CAVEATS
Most commands require root/sudo to communicate with the zerotier-one service.
Joining a network requires authorization from the network controller (automatic for public networks, manual for private).
Firewall rules may need adjustment to allow ZeroTier traffic (UDP port 9993 by default).
Network performance depends on whether direct peer connections can be established or traffic must relay.
SEE ALSO
zerotier-one(8), zerotier-idtool(1), ip(8), wg(8)
