Network Written
Why so slow: you are relayed
RELAY in peers means slow. Recognise symmetric NAT, set up the router, decide about UDP 9993, and three ways out of a company firewall.

With a ping of two or three hundred milliseconds and copying at a few hundred KB, look for a relay first.
zerotier-cli peersDIRECT on the other device's line is direct. RELAY means the official roots pass the data on, from wherever they stand.
Relayed, your data flies to a distant root server and back; two hundred milliseconds is just the start. Most home networks can connect directly if someone changes one or two settings.
Both networks decide
| NAT on each side | Hard | Easy | Public IP |
|---|---|---|---|
| Hard | Very unlikely | Possible | Yes |
| Easy | Possible | Yes | Yes |
| Public IP | Yes | Yes | Yes |
From the documentation. Hard means symmetric NAT, easy means cone types. One public IP is enough.
Are you the hard kind
zerotier-cli info -jIf surfaceAddresses grows with every device you ping, the port keeps changing: symmetric.
What you can do
- Turn on UPnP or NAT-PMP in the router.
- Do not stack two routers; bridge the modem.
- Turn on IPv6 at both ends.
- Do not restrict outgoing UDP.
- Turn on options called Full Cone or persistent NAT.
A company network you cannot change
- Forward one portto one device
- Make it the gatewayothers go through it
- No UDP at allyour own TCP relay
The TCP relay is described here.
Write down both sides
| Mine | Theirs | |
|---|---|---|
| Kind of line | ||
| Number of routers | Modem and router? | |
| Public IPv4 | ||
| IPv6 | ||
| UPnP on | ||
| surfaceAddresses |
IPv6 on both is the easiest way: hardly any punching, only the firewall has to let UDP in.
Bridge mode
If the modem dials, addresses are translated twice. In bridge mode the router dials and it is once. Ask the provider for it and the PPPoE account; photograph the old settings. With a public IPv4 forward UDP 9993 to that device and anyone can reach it.
Push it
ping the-other-address
zerotier-cli peersThree hundred that suddenly become thirty: direct.
A proxy on the router
It sends all UDP abroad, ZeroTier's too. Set ZeroTier, port 9993 or the device to direct; on a computer in TUN mode the process zerotier-one. With fake-ip add *.zerotier.com to its filter.
Why phones mostly relay
Mobile networks are symmetric and behind the provider. Improve the other side: public address or IPv6. The phone's APN should say IPv4/IPv6.
Good enough
| Use | Latency |
|---|---|
| Remote desktop | Under 100 |
| Files, web pages | 300 is bearable |
| Games | Under 80 |
| Backup | Only bandwidth counts |
Direct at times, relayed at others?
Mappings expire and are made again. The router's timeout should not be under 60 seconds.
Relayed inside one LAN?
See whether the Wi-Fi isolates clients.
Direct but slow?
Home upload is small; then see one core of the processor.
TUNNELED?
No UDP at all, falling back to TCP; common in offices.
Another port?
local.conf can change it, mainly to avoid a clash.
Up next
Self-hostingIs a moon still worth itWhat a moon improves and what not: phones cannot join, the official roots remain, how it differs from a controller, and what to check first.
NASNo more Synology package: use a containerZeroTier stopped maintaining its native Synology package. TUN on DSM 7, folder, container, joining, authorizing and upgrading, plus gateway use.
Pages nearby
- self-hosted ZeroTier root
- ZeroTier PORT_ERROR
- ZeroTier crashes
- ZeroTier container Synology
- REQUESTING_CONFIGURATION
- ZeroTier IP conflict
- ZeroTier service not running
- ZeroTier Mac
- ZeroTier One download
Marks: ZeroTier high latency, ZeroTier relay, ZeroTier slow