Guide
16 min readJul 31, 2026

Tailscale Minecraft Server: Play With Friends Without Port Forwarding

Make a Java or Bedrock server reachable through CGNAT without opening your router, then solve the two real blockers: every friend needs private-network access, and relay routes can add lag.

Quick Answer: Use Tailscale Only for a Private Player Group

If every player can install Tailscale, put the host and players on Tailscale, share only the Minecraft server machine, allow the game port through the host firewall, and connect to its Tailscale IP or MagicDNS name. You do not need router port forwarding or a public IPv4 address. If players must join normally without Tailscale, use a paid VPN that explicitly provides an inbound port or use FRP on a small public server; a normal privacy VPN without port forwarding will not make the Minecraft server reachable.

Private by default

Only an authorized Tailscale user can reach the server address. The router never publishes Minecraft to the open internet.

Share one machine, not your whole network

Give each friend access to the Minecraft host instead of signing everyone into your own account or exposing every home device.

Public joining needs a different path

A player without Tailscale cannot reach a private 100.x address. Use a paid inbound-port VPN, FRP, or traditional port forwarding when public joining is required.

Tailscale Minecraft server setup plan

Choose the edition, host operating system, and who should be able to join. The port, server setting, firewall command, and player address update immediately.

Minecraft edition

Host operating system

Player access

Firewall port

TCP 25565

Server setting

server-ip= · server-port=25565

Address to give players

minecraft-host.your-tailnet.ts.net:25565

Firewall command

New-NetFirewallRule -DisplayName "Minecraft Java via Tailscale" -Direction Inbound -Protocol TCP -LocalPort 25565 -RemoteAddress 100.64.0.0/10 -Action Allow

Run the command in an elevated PowerShell window or an authorized Linux shell. The 100.64.0.0/10 Windows rule limits IPv4 access to Tailscale addresses; the Linux rule limits traffic to the tailscale0 interface.

Choose the connection path before changing settings

The correct solution depends on whether every player can run Tailscale and whether the server must be public. These four paths are not interchangeable.

Connection pathBest forWhat players installMain limit
Tailscale machine sharingA private server for friends you knowTailscale and their own accountEvery player needs Tailscale; a relay path can add latency.
Router port forwardingA public home server with reachable public IPv4Nothing beyond MinecraftIt usually fails behind CGNAT and directly exposes the server port.
Paid VPN port forwardingPublic joining when the host cannot forward its routerNothing beyond MinecraftThe assigned port, region, protocol, and port lifetime depend on the provider.
FRP through a small public serverA stable public port with full operator controlNothing beyond MinecraftRequires Linux, firewall, FRP, access protection, monitoring, and update work.

If your ISP gives you reachable public IPv4, follow the traditional Minecraft port forwarding guide instead of paying for an unnecessary relay.

How to use Tailscale to host a Minecraft server

Use this order for Java or Bedrock on Windows or Linux. Each step proves one layer before you move to the next, so you do not change the router, firewall, and game at the same time.

  1. 1

    Prove the Minecraft server works locally

    Start the server and join from the host or another device on the same LAN. Leave Java server-ip blank so it can listen on available interfaces. Confirm Java uses TCP 25565 or Bedrock uses UDP 19132 before adding Tailscale.

  2. 2

    Install Tailscale on the host and each player device

    Sign the host into its owner account. Each friend should use their own Tailscale account. Record the host's stable Tailscale IPv4 address and its MagicDNS name with the commands below.

    tailscale ip -4
    tailscale status
  3. 3

    Share only the Minecraft host

    Open the host machine in the Tailscale admin console, create a machine share, and send the invite to the intended player. Do not hand out your identity-provider login. Machine sharing keeps unrelated devices invisible to the recipient.

  4. 4

    Allow the edition's port through the host firewall

    Use TCP 25565 for Java or UDP 19132 for Bedrock. The planner above generates a Windows rule limited to Tailscale IPv4 addresses or a Linux UFW rule limited to the tailscale0 interface.

  5. 5

    Use Direct Connection, not LAN discovery

    Java players enter the host's Tailscale IP or full MagicDNS name, adding :25565 when needed. Bedrock players choose Add Server, enter the same host address, and set port 19132. Never give a remote friend localhost or the host's 192.168.x.x address.

  6. 6

    Verify the Tailscale path before blaming Minecraft

    Run tailscale ping from a player device. If it cannot reach the host, fix sharing, sign-in, device status, or access rules first. If it reaches the host but Minecraft fails, check the game process, edition, version, listening address, and host firewall.

    tailscale ping minecraft-host
    tailscale status

For the difference between private tailnet access, Serve, Funnel, and transport ports, read the Tailscale port forwarding guide.

Fix a Tailscale Minecraft server that cannot connect or lags

Match the visible symptom to the first failed layer. LAN discovery, the Tailscale tunnel, the operating-system firewall, and the Minecraft server are separate checks.

What the player seesMost likely causeDo this
Connection refusedNothing is listening on the address and port, or Java is bound only to localhost.Start the server, leave Java server-ip blank, verify the configured port, and check the listener before editing Tailscale.
The LAN server does not appearMinecraft LAN discovery broadcasts do not reliably cross a routed tailnet.Use Direct Connection or Add Server with the Tailscale IP or full MagicDNS name.
Tailscale ping works, but Minecraft does notThe tunnel is healthy; the server listener, edition, port, or host firewall is wrong.Match Java to TCP 25565 or Bedrock to UDP 19132, then apply the planner's host firewall rule.
Incompatible client or server messageMinecraft versions, loaders, mods, or plugins do not match.Align the game version and modpack on every device. Tailscale cannot translate Minecraft protocols.
Java works, but Bedrock times outBedrock needs UDP, and an old server build may reject a newer client.Allow UDP 19132, update the Bedrock server, and enter the port explicitly in Add Server.
High ping or rubber-bandingtailscale status shows a DERP relay, the host is overloaded, or a player's route is poor.Use tailscale ping to confirm direct versus relay, prefer wired host networking, reduce view distance, and choose a nearby public endpoint if a relay is unavoidable.

If you move to a public endpoint and the assigned port still looks closed, use the closed-port troubleshooting workflow to check the listener, firewall, NAT layer, and outside test in order.

When players cannot install Tailscale

Paid VPN options for a public Minecraft port

Choose this only when the host is behind CGNAT or cannot change the router and players need a normal public address. The host connects to a VPN server that supplies an inbound port, Minecraft listens on the matching local port, and players use the VPN public IP plus the assigned port.

A paid plan is required for the port-forwarding capability used here. Confirm the selected region, host operating system, port lifetime, and protocol before paying: Java needs TCP, while Bedrock needs UDP. Services without inbound port forwarding are not included.

Best documented paid option

Proton VPN

  • 100M+ Proton accounts across its privacy ecosystem
  • Five consecutive annual independent no-logs audits
  • Open-source VPN apps with public code
  • 30-day refund window for eligible paid-plan purchases
Multiple-port control

PureVPN

  • 3M+ users and 17 years in cybersecurity
  • Fourth consecutive independent no-log assessment
  • ISO 27001-certified information security program
  • 31-day refund window for eligible initial purchases
Regional alternative

Private Internet Access

  • 10+ years in the VPN market
  • Open-source desktop and mobile applications
  • Third independent Deloitte no-logs review
  • 30-day refund window for eligible purchases

FRP for a stable public Minecraft endpoint

Want lower ongoing cost and have programming or server-operations skills? FRP on a small public server can cost less than a full VPN subscription. You must configure Linux, a firewall, frps, frpc, access protection, monitoring, and security updates. This path is not suitable for ordinary beginners. Choose a nearby server to reduce latency and expose only the Minecraft port, never an unprotected administration interface.

Not sure whether the ISP is the blocker? First check whether CGNAT blocks inbound traffic so you do not buy a workaround for the wrong problem.

Tailscale Minecraft server FAQ

Official setup and networking references

The connection model, sharing behavior, names, ports, and server settings on this page are grounded in official product documentation.

Share this article