Self-host ZeroTier
1.16.1Encrypted P2P virtual networks for devices, sites and IoT
docker run --name myzerotier --rm --cap-add NET_ADMIN --device /dev/net/tun zerotier/zerotier:latest abcdefdeadbeef00- Stars
- 17 244
- Port
- 9993 (ZeroTier's UDP data plane port and the local JSON/HTTP control API (127.0.0.1:9993 by default, 0.0.0.0:9993 when allowManagementFrom is configured))
zerotier/zerotierWhat is ZeroTier?
ZeroTier One is the daemon behind ZeroTier's global virtual networking: it puts laptops, servers, VMs, containers and IoT hardware onto shared virtual networks so they behave as if they were racked in the same data center. Traffic is encrypted end-to-end with keys you hold, most of it flowing directly between peers, with free but deliberately slow relaying when a peer-to-peer path cannot be established. Above the secure peer layer sits an Ethernet emulation layer (VL2) plus a rule language for fine-grained access control, micro-segmentation and monitoring, and nodes are driven locally through a JSON/HTTP control API, the zerotier-cli utility and a local.conf settings file. You can run your own infrastructure on both layers: the reference network controller is documented for DIY deployments with a REST API under /controller and Prometheus metrics, and moons (federated root sets) let you replace the vendor's default root servers with ones you operate. Self-hosting is available as a one-line Linux install script adding apt/yum repositories, DEB/RPM packages, Windows and macOS installers, iOS and Android apps, a community FreeBSD package, a community OpenWRT port, and an official container image that needs NET_ADMIN plus /dev/net/tun. Licensing is split: node, osdep and service code is MPL-2.0 while the bundled controller is non-free, source-available code, and the hosted Central control plane has free non-commercial and paid commercial plans.
ZeroTier alternatives
OpenZitiOpenZiti is an open-source, self-hosted zero-trust overlay network: identity-based access, dark services with no open ports, tunnelers and SDKs instead of VPN.CompareOpenZiti with ZeroTier
zerotier-edgeZerotier-Edge is a lightweight, single-binary web UI for self-hosted ZeroTier controllers, needing no Docker or database.Comparezerotier-edge with ZeroTier
ztnetOpen-source, self-hosted web UI to manage ZeroTier networks with multi-user accounts, organizations, custom private roots and OAuth login.Compareztnet with ZeroTier
ZeroNetP2P platform for hosting websites without central servers, leveraging Bitcoin-based crypto for authorization and BitTorrent for content delivery. Access offline.CompareZeroNet with ZeroTier
zrokOpen-source zero-trust tunneling tool for sharing web apps, TCP/UDP services and folders through firewalls; self-host your own instance or use zrok.io.Comparezrok with ZeroTier
gravitlSelf-hosted, open-source WireGuard automation: mesh VPNs, remote access gateways and site-to-site networks managed from a web UI with ACLs and DNS.Comparegravitl with ZeroTier
netbirdNetBird is a self-hosted, open-source zero-trust networking platform with WireGuard mesh, centralized access control, SSO/MFA, and posture checks.Comparenetbird with ZeroTier
LantunnelLantunnel is a self-hosted, open-source mesh VPN connecting devices via direct P2P encrypted paths with relay fallback — no port forwarding needed.CompareLantunnel with ZeroTier
Should you self-host ZeroTier?
ZeroTier scores 73/100 on selfhost.directory (how scoring works) and ranks #7 of 56 in VPN. It has 17 244 GitHub stars, +84 in the last 30 days.
It shipped 2 stable releases in the past year. The latest, 1.16.1, came out on 28 May 2026.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Other-licensed and written mostly in C++.
Its closest alternative on selfhost.directory is Tailscale (84/100, 38 888 stars). It scores higher overall, so compare the two before you pick. See ZeroTier vs Tailscale side by side.
Features
- Access control rules and micro-segmentation
- Command-line management
- End-to-end encryption
- Layer 2 virtual networks
- Local JSON/HTTP control API
- Low-bandwidth mode
- Peer-to-peer connections with relay fallbackRelaying is free but slow.
- Private root servers (moons)Docs now discourage new private moon deployments.
- Prometheus MetricsController-side metrics.
- Runs on routers and embedded devices
- Self-hosted network controllerNon-free, source-available code under nonfree/.
- TCP fallback relay
ZeroTier README
- ZeroTier Documentation - Start here for downloads, installation, and usage
- How to build - Build instructions and platform requirements
- Corporate Site
- Downloads
- Service API Reference
- Network Controller
- Commercial Support
- License Information
More in VPN
zerotier-edgeZerotier-Edge is a lightweight, single-binary web UI for self-hosted ZeroTier controllers, needing no Docker or database.
Zerotier UIOpen-source, self-hosted web UI for a standalone ZeroTier network controller: create networks, authorize members, manage IP assignments, served over HTTPS.
zero-uiZeroUI is a self-hosted, open-source web interface for managing ZeroTier network controllers with a React SPA and rule editor.
ztnetOpen-source, self-hosted web UI to manage ZeroTier networks with multi-user accounts, organizations, custom private roots and OAuth login.
3m-uiSelf-hosted open-source dashboard for Mihomo proxy: nodes, users, traffic quotas, subscriptions, TLS certs, Telegram alerts, and multi-server clusters.
3x-uiOpen-source, self-hosted admin panel for Xray proxy servers: multi-protocol inbounds, per-client quotas and traffic stats, subscriptions, multi-node control, REST API.
amneziawg-installerSelf-hosted, open-source AmneziaWG 3.1 VPN server you provision on your own VPS with a single bash script: DPI-proof obfuscation, no Docker, kernel module.
awlAnywherelan is a self-hosted, open-source mesh VPN connecting devices directly without a central server. It provides SOCKS5 proxy and full-tunnel VPN gateway.
CacheGuard-OSSelf-hosted open-source UTM appliance OS turning x86/x64 machines into complete network security gateways with firewall, VPN, WAF, antivirus, and more.
CalabiSelf-hosted tunneling tool giving local services HTTPS URLs for webhooks and previews, plus a private WireGuard mesh network with stable addresses.
CELERITY-panelSelf-hosted open-source web panel for Hysteria 2 and Xray VLESS with one-click node setup, server groups, load balancing, ACL filtering, and subscriptions.
cftunnelcftunnel is a self-hosted, open-source tunneling CLI for free HTTP/WS via Cloudflare and full TCP/UDP via self-hosted frp relay.





0 comments