ZeroTier Minecraft: Play Together Without Port Forwarding (2026)

Published on | Updated

How to use ZeroTier for a Minecraft server without port forwarding: setup on Windows, macOS and Linux, the free 10-device limit, and when to host instead.

ZeroTier Minecraft setup

Port forwarding is the biggest barrier to hosting a Minecraft server at home. Your router blocks incoming connections by default, and configuring it requires accessing the router admin panel, knowing your internal IP, and hoping your ISP does not use CGNAT (which makes port forwarding impossible entirely). ZeroTier sidesteps all of that.

ZeroTier creates a virtual private network between your machines. Once everyone is on the same ZeroTier network, they can connect to your Minecraft server as if they were on the same local network. No port forwarding, no open port on your router, and it works through CGNAT.

Quick answer: To use ZeroTier for a Minecraft server, create a free network in ZeroTier Central, install ZeroTier One on your PC and on every friend's device, join the 16-character Network ID and authorize each device. Leave server-ip blank in server.properties, add your friends to the whitelist, and have them use Direct Connection with your ZeroTier IP and port 25565 (19132 for Bedrock). ZeroTier's free Personal plan covers 10 devices on one network for personal, non-commercial use, your PC included (checked 3 November 2026). The server is only online while your PC is on.

How ZeroTier Works

ZeroTier is a peer-to-peer VPN: instead of routing all traffic through a central server, it connects devices directly over an encrypted tunnel. ZeroTier's root servers help devices find each other, a role ZeroTier's protocol docs compare to DNS root name servers, and "all ZeroTier traffic is encrypted end-to-end."

Each device on a ZeroTier network gets a managed IP address from the network's range, such as 10.147.20.1. Your Minecraft server listens on this virtual IP, and your friends connect to it using that address instead of your public IP.

How to Use ZeroTier for Minecraft: Setup

These steps follow ZeroTier's quickstart as it reads on 3 November 2026.

Step 1: Create a ZeroTier Network

  1. Sign up at central.zerotier.com, ZeroTier's new Central. The older Legacy Central is at my.zerotier.com; both are covered below.
  2. Enter an organization name, click Create Organization and choose the free Personal plan. The organization comes with one network.
  3. Open Networks, select the network and copy the Network ID at the top of its page: a 16-character string like 6722f92749d059c7.

In New Central, "new devices that join your network must be authorized before they can communicate" (Networks docs), so a Network ID alone gets nobody in. In Legacy Central, keep Access Control on Private: ZeroTier warns that "public networks have no access control."

Step 2: Install ZeroTier on the Host (Your Machine)

All installers are on zerotier.com/download.

Windows: download the MSI installer and approve the driver installation during setup. Then click the ZeroTier icon in the system tray, choose "Join New Network...", paste your Network ID and click Join.

Linux:

curl -s https://install.zerotier.com | sudo bash
sudo zerotier-cli join YOUR_NETWORK_ID

macOS: download the PKG installer (macOS 10.13 or later), or install it with Homebrew:

brew install --cask zerotier-one
sudo zerotier-cli join YOUR_NETWORK_ID

Phones and tablets: ZeroTier One is on the App Store and Google Play, for friends who play Bedrock on mobile.

Step 3: Authorize the Device

Go back to ZeroTier Central and open your network.

  • New Central: in the Member Devices tab, find the device marked "Not Authorized", open the three-dot menu under Actions and click Authorize. ZeroTier recommends this over the pop-up banner to "avoid accidental bulk authorizations". The address appears under ZT IP.
  • Legacy Central: scroll to Members, tick the Auth? box and read the address under Managed IP.

Note that address (for example 10.147.20.1). This is the address friends will use to connect.

Step 4: Install ZeroTier on Friends' Machines

Each friend repeats Step 2: install ZeroTier and join the same Network ID. You authorize each of their devices in Central. Every device counts toward the free plan's 10, so a friend who joins from a PC and a phone uses two.

Step 5: Configure Minecraft

In server.properties, make sure:

server-ip=
server-port=25565

Leaving server-ip blank means the server "listens on all available IP addresses" (server.properties on the Minecraft Wiki), including ZeroTier. If you want it to only listen on ZeroTier (hiding it from your local network), set server-ip to your ZeroTier IP.

Since Java Edition 26.3, a new server starts with white-list=true, so friends who are not on the list get turned away. Add each one in the server console:

whitelist add FriendName

If a friend times out, check that your firewall allows Java, or TCP port 25565, on the ZeroTier network.

Step 6: Connect

Friends open Minecraft, go to Multiplayer, click "Direct Connection," and enter your ZeroTier IP:

10.147.20.1:25565

That is it. No port forwarding, no router configuration, and no port open to the internet. Playing a single-player world with Open to LAN instead of a server? Our ZeroTier and Tailscale LAN guide covers that.

Latency: Direct or Relayed

ZeroTier does not make the internet faster: ping still depends on the distance between you and your friends, as with port forwarding. Only traffic for your ZeroTier network goes through ZeroTier; browsing, streaming and other games keep using your normal connection.

What ZeroTier adds depends on the path. Normally the two machines talk directly. When a direct connection cannot be established, for example when strict NATs or firewalls sit on both sides, "packets are bouncing through our root servers", and ZeroTier's relaying FAQ names the side effects: "increased latency and possible packet loss." Check which path each friend has:

sudo zerotier-cli peers

The output has the columns <ztaddr> <ver> <role> <lat> <link> <lastTX> <lastRX> <path>. In the <link> column, DIRECT is what you want and RELAY means relayed. ZeroTier's connection issues page says to run the command on both peers: many RELAY entries mean that device struggles to connect, and RELAY links to the PLANET root servers suggest UDP traffic is blocked on its network.

Is ZeroTier Free? What a Friend Group Hits First

Correction, 3 November 2026: an earlier version of this guide said ZeroTier is free for up to 25 devices. ZeroTier's pricing page lists 10.

All three have a free plan, and each runs out somewhere else (from the providers' own pages, 3 November 2026):

ZeroTier PersonalTailscale Personalplayit.gg free
PriceFreeFreeFree, Premium $3 a month
Who installs somethingYou and every playerYou and every playerOnly you (the playit agent)
Free limit10 devices, 1 network, 1 admin; personal, non-commercial useUp to 6 users, with no cap on devices per user; non-commercial use4 ports
What you hit firstThe 11th deviceThe 7th person in your tailnetA far datacenter: free tunnels use global routing
Next stepPaid plans start with Essential at $18 a month, business licensedShare only your PC with friends' own Tailscale accountsPremium: 16 ports and regional tunnels

Sources: ZeroTier pricing, Tailscale pricing, Tailscale sharing, playit.gg and Playit Premium.

ZeroTier's 10 devices means you plus nine friends on one device each, and its pricing table lists no paid extra devices on Personal. Tailscale counts people, so you plus five friends; past that, sharing (on every plan) lets friends reach just your PC from their own tailnet. A shared machine "can receive incoming connections" but "cannot start connections", which is all a Minecraft server needs. Playit.gg asks nothing of your friends, but every player goes through its relay, and playit says the free network can route "a user in North America" through Singapore.

Advantages of ZeroTier

No port forwarding required. Works through CGNAT, double NAT, restrictive ISPs. If the device can reach the internet, ZeroTier works.

No open port on your router. Only devices you authorized can reach the server. Friends on a direct link do see your public address in their zerotier-cli peers output, so authorize only people you know.

Encrypted traffic. All ZeroTier connections are encrypted end-to-end. Traffic between players and your server is not visible to your ISP or anyone on the network path.

Easy to manage. Add and remove players in ZeroTier Central. No need to change router settings when someone joins or leaves.

Free for 10 devices. Enough for a small friend group.

Limitations

Everyone needs ZeroTier installed. Fine for a group of friends, a dealbreaker for a public server where random players join.

The host machine must stay on. If you turn off your PC, the server goes down.

Performance scales with your hardware. A modded server that needs 12 GB of RAM and a fast CPU needs that regardless of how players connect.

Not suitable for public servers. If you want your server on server list websites, players need a public address, and ZeroTier does not give you one.

When to Use ZeroTier vs. a Hosted Server

Use ZeroTier when:

  • You play with a few friends, within the free plan's 10 devices
  • You cannot port forward (CGNAT, apartment network, school/university)
  • You want to keep costs at zero
  • You do not want to open a port on your router
  • The server only needs to be up when you are playing

Use a hosted server when:

  • Friends want to play while your PC is off
  • More people want in than the free plan's 10 devices
  • You run heavy modpacks that need dedicated hardware
  • You want a public server that anyone can join
  • Players should not have to install a VPN client

Space-Node Minecraft hosting keeps the server running while your PC is off. As of 3 November 2026, Standard plans start at €2.70 a month for 3 GB of RAM (MC Coal), with NVMe storage, DDoS protection and a free .mymcserver.nl subdomain. Standard runs on AMD EPYC 7443 in the Netherlands, Germany and Poland, and Premium on Ryzen 9 9950X. MC Coal is meant for classic versions up to Minecraft 1.20.4, so a world on a current version needs a larger plan.

The typical progression: start with ZeroTier for free, then move to a hosted server once friends want to play when you are offline or the world outgrows your PC. Your world folder moves with you: upload it to the new server.

Alternatives to ZeroTier

Playit.gg

A tunnel service that gives your server a public address without port forwarding. Unlike ZeroTier, players do not need to install anything: "Only you run the agent, your players just connect." The tradeoff is that traffic routes through playit's servers and you depend on their service being available. The Minecraft Java tunnel is on the free plan. Our playit.gg guide walks through the setup.

Tailscale

Similar to ZeroTier, but you sign in with an existing account such as Google, Microsoft, GitHub or Apple (identity providers). Works equally well for Minecraft, as Tailscale's own private Minecraft server guide shows.

Ngrok

Ngrok's TCP endpoints are "only available on a free plan after adding a valid payment method", and GeyserMC's setup guide says ngrok does not work for Bedrock players on Geyser "since it does not support UDP". It works for a Java-only server in a pinch, but ZeroTier or Tailscale are better choices for gaming. Our ngrok and Cloudflare Tunnel guide has the details.

FAQ

How many friends can join on ZeroTier's free plan? Nine, if each uses one device: the Personal plan covers 10 devices on one network and your PC is one of them. Every phone or second PC takes a slot. Paid plans start with Essential at $18 a month, business licensed (checked 3 November 2026).

Can I use ZeroTier with Bedrock Edition or on a phone? Yes, on devices that can run ZeroTier One: Windows, Android and iOS. Bedrock Dedicated Server listens on port 19132 by default, and ZeroTier carries UDP and TCP alike, so friends add a server with your ZeroTier IP and port 19132. The default Bedrock server.properties has allow-list=true, so put each player on the allowlist first. ZeroTier lists no app for Xbox, PlayStation or Switch, so console players cannot join this way.

Why can't my friends connect over ZeroTier? Check in this order: both devices show as authorized in ZeroTier Central; the friend types your ZeroTier IP, not your home IP or your 192.168 LAN address; the server is running with server-ip blank or set to your ZeroTier IP; your firewall allows the server on the ZeroTier network; and on a 26.3 server, the friend is on the whitelist. If all of that is right and joins are slow or drop, run sudo zerotier-cli peers on both machines and look for RELAY.

Does ZeroTier work with modded Minecraft? Yes. ZeroTier operates at the network level. It does not care what application is running. Forge, Fabric, NeoForge, Paper, any server software works.

Is ZeroTier safe? Its traffic is encrypted end-to-end, and new devices cannot communicate until you authorize them, so the main risk is authorizing a device you do not recognize. Remove members you no longer play with, and in Legacy Central never switch the network to Public.

Can I run multiple Minecraft servers over ZeroTier? Yes. Run them on different ports (25565, 25566, etc.) and give friends the appropriate IP:port combination.

Related guides: when you outgrow ZeroTier, see our Minecraft hosting comparison and game server security guide for protecting a public server. For performance tuning, read ZGC vs G1GC and best Minecraft mods 2026.

Sources

All opened on 3 November 2026: