explaingit

zerotier/zerotierone

Analysis updated 2026-06-24

16,732C++Audience · ops devopsComplexity · 3/5LicenseSetup · easy

TLDR

A virtual network that makes laptops, servers, and phones across the internet appear on the same private LAN, with end-to-end encryption and peer-to-peer routing.

Mindmap

mindmap
  root((ZeroTier))
    Inputs
      Network ID
      Device join request
      Access rules
    Outputs
      Encrypted virtual LAN
      Peer-to-peer tunnel
      Routed traffic
    Use Cases
      Connect home and cloud servers
      Replace a VPN
      Segment infrastructure
    Tech Stack
      C++
      Cross-platform clients
      Self-hosted controller
    Platforms
      Mac
      Linux
      Windows
      Android
      iOS
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Connect a home lab to a cloud VM as if they were on the same LAN

USE CASE 2

Replace a traditional VPN with a peer-to-peer mesh between team laptops

USE CASE 3

Reach a SSH or database server behind a NAT without port forwarding

USE CASE 4

Segment IoT devices and production servers onto separate virtual networks

What is it built with?

C++NetworkingP2P

How does it compare?

zerotier/zerotieroneapache/arrowespressif/arduino-esp32
Stars16,73216,73616,759
LanguageC++C++C++
Setup difficultyeasymoderatemoderate
Complexity3/54/53/5
Audienceops devopsdatadeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Free hosted controller has a 25-device limit on the free plan, commercial use requires a paid license.

Free for personal and internal business use, but you need a paid commercial license to build a product on top of it or offer it as a hosted service.

In plain English

ZeroTier is a tool that lets your devices, servers, and apps talk to each other over the internet as if they were all plugged into the same private network in the same room. Whether you have a laptop, a phone, a virtual machine, or a cloud server, ZeroTier makes them all appear to be on one shared network, no matter where they actually are in the world. Think of it like a massive invisible Ethernet switch that spans the entire planet. You create a virtual network with a unique ID, and any device that joins that network can reach any other device on it directly and securely. All traffic between devices is encrypted end-to-end using secret keys that only you control, so nobody else can snoop on your data. Most of the time your devices connect directly to each other (peer-to-peer), which keeps things fast. ZeroTier also includes fine-grained access control rules, meaning you can decide exactly which devices can talk to which, making it useful for segmenting different parts of your infrastructure for security. It works on Mac, Linux, Windows, Android, and iOS. You can manage your networks through ZeroTier's hosted service at my.zerotier.com, or run your own controller if you prefer full control. The software is free for internal business and non-commercial use, with a commercial license required for building products on top of it or offering it as a hosted service.

Copy-paste prompts

Prompt 1
Walk me through joining my Mac and a DigitalOcean droplet to the same ZeroTier network so I can SSH by private IP
Prompt 2
Show me how to write ZeroTier flow rules that only allow my laptop to reach port 22 on the server
Prompt 3
Help me self-host a ZeroTier controller on Linux instead of using my.zerotier.com
Prompt 4
Compare ZeroTier vs Tailscale vs WireGuard for a 5-device personal setup and pick one
Prompt 5
Set up ZeroTier on a Raspberry Pi so it acts as a bridge to my home LAN

Frequently asked questions

What is zerotierone?

A virtual network that makes laptops, servers, and phones across the internet appear on the same private LAN, with end-to-end encryption and peer-to-peer routing.

What language is zerotierone written in?

Mainly C++. The stack also includes C++, Networking, P2P.

What license does zerotierone use?

Free for personal and internal business use, but you need a paid commercial license to build a product on top of it or offer it as a hosted service.

How hard is zerotierone to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is zerotierone for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub zerotier on gitmyhub

Verify against the repo before relying on details.