Tailscale vs ZeroTier: licences, access rules, SSH, pricing
Tailscale (WireGuard, closed control server) or ZeroTier (Layer 2, self-hostable controller for non-commercial use): access rules, SSH, DNS, exit nodes, prices.
Both put your machines on one private network that works through NAT, peer to peer where possible and relayed where not. Tailscale is a routed IP network built on WireGuard, with a closed-source coordination server and an access policy file that works on the free plan. ZeroTier is its own protocol emulating an Ethernet switch (Layer 2, so broadcast and multicast work), with a network controller you can run yourself, though the controller’s code is source-available for non-commercial use only. As of November 23, 2026, Tailscale’s free Personal plan covers 6 users, unlimited user devices and 50 tagged resources (servers and other machines owned by a tag rather than a person); ZeroTier’s free Personal plan covers 10 users and 10 devices on one network, with no access rules on its current dashboard. Both free plans are for non-commercial use. Paid plans start at $8 per user a month for Tailscale and $18 a month for 10 devices on ZeroTier. For a server running an agent, Tailscale does more on the free tier (built-in SSH, names, rules); ZeroTier suits Layer 2 needs and people who want to run the controller themselves.
Side by side
| Tailscale (v1.104.7) | ZeroTier (1.16.2) | |
|---|---|---|
Network | Routed IP (Layer 3) over WireGuard | Emulated Ethernet (Layer 2) over its own peer-to-peer transport |
Who admits devices | Tailscale’s coordination server, closed source | A network controller: ZeroTier Central, or one you run |
Relay fallback | Peer relays in your tailnet, then Tailscale’s DERP servers | ZeroTier’s relaying, “free (but slow)”; TCP fallback when UDP 9993 is blocked |
Client licence | BSD-3-Clause (GUIs closed on closed OSes) | MPL-2.0 |
Self-hosted control | Headscale, an independent project | ZeroTier’s own controller, non-commercial use only without a licence |
Access rules on the free plan | Grants in a policy file (3 ACL groups) | None on New Central; all members reach each other |
Built-in SSH | Tailscale SSH, on every plan | None; ordinary SSH over the network |
Device names | MagicDNS, on by default | ZeroNSD (beta), or local DNS on paid plans |
How each one works
Tailscale gives each device a WireGuard interface and an address in your tailnet. Its coordination server hands out keys, addresses, names and the access policy; the traffic itself goes directly between devices when NAT allows. When it does not, Tailscale “first attempts to use any available peer relays in the tailnet”, then its DERP relays, of which “it’s impossible for a DERP server to decrypt your traffic.”
ZeroTier describes itself in its protocol docs as “a smart programmable Ethernet switch for planet Earth.” It has two layers. VL1 is “the underlying peer to peer transport layer”: every device has a 40-bit address computed from its public key, and root servers, which together form the “planet” and are run by ZeroTier, Inc. “as a free service”, help two devices find each other. VL2 is “an emulated Ethernet layer” on top: each virtual network is defined by a network controller, which admits members and acts as their certificate authority. A 16-digit network ID is the controller’s 10-digit address followed by 6 digits naming the network, which is how a device knows whose controller to ask.
The Layer 2 part is the real difference. A ZeroTier network carries Ethernet frames, so broadcast and multicast work (broadcast is “treated as a multicast group to which all members subscribe”), and ZeroTier documents bridging a network onto a physical LAN. Tailscale carries IP only. If all you do is SSH, HTTPS and the like to a server, the distinction never shows. On encryption, ZeroTier’s protocol page says packets are encrypted with Salsa20 and Poly1305 “as of the current version”, while its pricing page lists AES-256 symmetric encryption on every plan; the two pages do not agree.
What is open source, and what you can host yourself
- Tailscale: the client repository is BSD-3-Clause. Per its open source page, on closed operating systems “the daemon is open source and the GUI is closed source”, and the coordination server is closed source. The DERP relay is open and can be self-hosted. To replace the coordination server you use Headscale, which Tailscale calls “a community-maintained project, not Tailscale-managed”.
- ZeroTier: at the 1.16.2 tag, the repository’s licence file puts the agent (the client, under
node/,osdep/andservice/) under MPL-2.0, and everything innonfree/, including the network controller, under the ZeroTier Source-Available License.
That second licence decides whether a self-hosted ZeroTier controller is open to you. It allows the controller for “Personal, non-commercial purposes, in a non-commercial environment”, student research, and evaluation for up to 30 days. Commercial use includes “Any use of the Software by or for the benefit of a for-profit company”, use by non-profits and charities, “Use in a production, staging, or development environment for business purposes”, and “Offering paid or unpaid services powered by the Software”, and the licence says such use “REQUIRES A SEPARATE COMMERCIAL LICENSE.” On ZeroTier’s price list, self-hosted and air-gapped deployments sit under the custom-priced Enterprise plan. Headscale, by contrast, is BSD-3-Clause, with no such restriction, though it does not do everything Tailscale’s own server does.
For personal use, the self-hosted controller is simple. A controller is an ordinary ZeroTier node: per the controller README, its API is the local service’s own JSON API, “usually at 127.0.0.1 port 9993”, authenticated with the node’s authtoken.secret, and it keeps its data as JSON under controller.d. ZeroTier’s controller guide creates a network by posting to the node’s own ID followed by six underscores, and the controller fills in the rest:
NODEID=$(zerotier-cli info | cut -d " " -f 3)
curl -X POST "http://localhost:9993/controller/network/${NODEID}______" \
-H "X-ZT1-AUTH: ${TOKEN}" -d {}
# admit a member that has joined
curl -X POST "http://localhost:9993/controller/network/${NWID}/member/${MEMID}" \
-H "X-ZT1-AUTH: ${TOKEN}" -d '{"authorized": true}'CopiedThe guide calls this “a low tech way to setup a controller for example purposes” and expects you to build something around the API.
Joining a server
On Linux, from each vendor’s own instructions:
# ZeroTier
curl -s https://install.zerotier.com | sudo bash
sudo zerotier-cli join <16-digit network ID>
# then authorize the device in Central (Member Devices, Authorize)
# Tailscale
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale upCopiedOn ZeroTier, “a device that joins is not connected until you authorize it”, in Central or through your own controller’s API. On Tailscale, tailscale up prints a sign-in link; on a headless server an auth key does the join without a browser. If ZeroTier reports its status as TUNNELED, it is “unable to communicate over UDP/9993” and is using a TCP fallback relay.
Access control: the deciding point for an agent server
A server running an AI agent should be reachable from your devices without being able to reach them back. How each product lets you say that differs more than anything else here.
Tailscale uses grants in a policy file, which “follow Tailscale’s deny-by-default approach”: each grant names a source, a destination and what is allowed. When a tailnet is first created, its default policy file “enables communication between all devices”, so replacing that default is the first job. Rules are written against users, groups and tags, and the free plan includes them, with up to 3 groups. The policy that tags a server and lets only you in is spelled out in Tailscale SSH for an AI agent server.
ZeroTier filters with flow rules, a rules engine that “runs inside the ZeroTier agent on each device” and can match Ethernet types, ports, TCP flags, tags and capabilities. Two things limit it on the free plan. On New Central, “flow rules are disabled and all traffic is allowed across the network” by default, and the plan table gives the free plan neither templated nor custom rules: templated rules come with Essential, custom ones with Scale and Enterprise. The docs add that “the full custom rules engine is available to all users on Legacy Central”, the older dashboard at my.zerotier.com; whether a new account can still use it is not stated. Rules are written in ZeroTier’s own rule language; this excerpt from its example drops anything that is not IPv4, ARP or IPv6, accepts TCP to ports 22, 80 and 443, and stops other new TCP connections:
drop # drop cannot be overridden by capabilities
not ethertype ipv4 # frame is not ipv4
and not ethertype arp # AND is not ARP
and not ethertype ipv6 # AND is not ipv6
or not chr ipauth # OR IP addresses are not authenticated (1.2.0+ only!);
accept dport 22 or dport 80 or dport 443 and ipprotocol tcp;
break # break can be overridden by a capability
chr tcp_syn # TCP SYN (TCP flags will never match non-TCP packets)
and not chr tcp_ack # AND not TCP ACK;CopiedA packet no rule accepts is discarded, so a full rule set ends with what it allows.
On a free ZeroTier network with no rules, every authorized member can reach every port of every other member, so the agent’s server can open connections to your laptop. A host firewall on your own devices that refuses new connections from the ZeroTier interface does the job the network does not.
SSH, names, exit nodes and routes
- SSH. Tailscale SSH (
sudo tailscale set --sshon the server) answers port 22 for tailnet traffic and authenticates with Tailscale node keys instead of SSH keys, with acheckmode that asks for a fresh sign-in, every 12 hours by default. The server side runs on Linux, and on macOS with the open-source CLI build; Tailscale says it “is available for all plans.” ZeroTier has no SSH of its own: you run your usualsshdand connect to the server’s ZeroTier address with your own keys. - Names. MagicDNS “automatically registers DNS names for devices in your network” under your
ts.netdomain, on by default for tailnets created since October 20, 2022. ZeroTier’s DNS answer is ZeroNSD, described as a beta, which runs on one node per network and serves member names; clients accept it withsudo zerotier-cli set <network ID> allowDNS=1. Local DNS in Central is listed from the Essential plan up. - Exit nodes. Tailscale:
sudo tailscale set --advertise-exit-nodeon the exit, approve it in the admin console, andsudo tailscale set --exit-node=<ip>on each device; an exit can be Linux, macOS, Windows, Android, iOS or tvOS. ZeroTier’s exit node guide is a Linux router you build: turn on IP forwarding, add iptables masquerade and forward rules, add a managed route0.0.0.0/0 via <zerotier-ip-of-router-node>, thensudo zerotier-cli set <network ID> allowDefault=1on each client (withrp_filter=2on Linux clients; FreeBSD clients cannot use it). Using a home machine as the exit for a cloud server is in Tailscale exit node for a cloud agent. - Routes to other machines. Tailscale uses subnet routers; ZeroTier uses managed routes pushed by the controller, or a Layer 2 bridge to a physical LAN. ZeroTier’s pricing lists custom routes from Essential up.
Prices as of November 23, 2026
From Tailscale’s pricing and ZeroTier’s pricing, both in US dollars and monthly:
| Plan | Price | What it covers |
|---|---|---|
Tailscale Personal | $0 | Up to 6 users, unlimited user devices, 50 tagged resources (then $1 a month each), 3 ACL groups; non-commercial |
Tailscale Standard | $8 per user | Unlimited users, up to 10 ACL groups, SCIM user provisioning |
Tailscale Premium | $18 per user | Up to 300 ACL groups, just-in-time access, advanced Tailscale SSH, network flow logs |
ZeroTier Personal | $0 | 10 users, 10 devices (no more can be added), 1 network, 1 admin, CLI, UI and webhooks; non-commercial |
ZeroTier Essential | $18 | 10 devices then $2.00 each, 10 networks, 5 admins, API, OIDC sign-on, templated flow rules, custom routes, basic local DNS |
ZeroTier Scale | $179 | 100 devices then $1.80 each, unlimited networks, 10 admins, custom flow rules |
ZeroTier Enterprise | Custom | 500+ devices, self-hosted and air-gapped |
The meters differ. Tailscale charges per person and counts servers separately as tagged resources; ZeroTier charges a plan price that includes some devices, then per device, counting every device whoever uses it. For one person with a laptop, a phone and a few servers, both free plans fit, ZeroTier’s with a hard ceiling of 10 devices. Both vendors limit their free plan to non-commercial use: Tailscale says it “is only suitable for non-commercial use of Tailscale”, and ZeroTier lists “Personal, non-commercial use”.
Platforms
Tailscale’s daemon “runs on Linux, Windows, macOS, and to varying degrees on FreeBSD and OpenBSD”, with apps for iOS, Android and tvOS. ZeroTier’s download page offers Windows, macOS, iOS, Android, Linux (DEB and RPM), Docker and FreeBSD, with a community OpenWrt port; its native NAS packages are marked deprecated.
Which one suits whom
- Tailscale if the job is reaching a few servers from your own devices: per-user access rules and SSH without managing keys on the free plan, names that work out of the box, and nothing to host. The cost is a closed coordination server you trust with who joins.
- ZeroTier if you need a real Layer 2 network (broadcast, multicast, bridging to a LAN), want to run the controller yourself for personal use, or price a team by devices rather than people. Budget for a paid plan or a host firewall if you need rules between members.
- Headscale if you want Tailscale’s clients with a control server you run, including for business use, and can accept a shorter feature list.
- Neither if the people reaching the machine cannot install a client; then a public URL with sign-in in front, as in Tailscale vs Cloudflare Tunnel, is the other shape.