You want to reach the Home Assistant box in your flat, the NAS with the family photo archive, and the little Proxmox cluster in the office — all from a laptop in a café. You install Tailscale on three machines, log into the same account, and eight minutes later ssh nas works from anywhere, no port forwarding, no dynamic DNS, no router login. That moment feels like magic. The question worth asking is what exactly you just bought, and what happens on the day the magic stops.
This is a breakdown of cause and effect: how Tailscale's WireGuard-based mesh actually works under the hood, where each mechanism bites back, and the decision rule for when a hand-rolled WireGuard tunnel on a rented VPS is the cheaper and simpler answer.
What the coordination server actually does — and what breaks when it is unreachable
WireGuard itself is deliberately dumb. RFC-compliant, ~4,000 lines of kernel code, no concept of "who is allowed to join my network" — you exchange public keys by hand and list peers in a config file. Tailscale is the control plane that sits on top: a coordination server that hands out node keys, distributes peer lists, and answers the question "which IP belongs to which machine right now".
Here is the part people miss. The coordination server does not carry your traffic. Data flows directly between your devices over WireGuard, or through a DERP relay when a direct path is impossible. The control plane only tells peers how to find each other.
That distinction explains the failure mode. If the coordination server is unreachable, existing tunnels keep working — the WireGuard sessions are already established and keys are cached. What stops working is everything new: a device booting after a reboot can't fetch the current peer map, a newly added node never appears, ACL changes don't propagate. You get a network that is frozen in time, not a dead network.
For a home lab this is usually fine. For an office where someone joins every week, it means a support ticket every time the coordination server hiccups.
NAT traversal, DERP relays, and the bandwidth bill nobody reads
Most home and office networks sit behind NAT. Two devices behind different NATs cannot address each other directly — neither knows the other's public port mapping. Tailscale solves this with STUN-style hole punching: both peers ask the coordination server for each other's observed public endpoint, then fire UDP packets simultaneously until a path opens. When that succeeds you get a direct tunnel with full line-rate throughput.
When it fails — symmetric NAT on both sides, aggressive corporate firewalls, restrictive mobile carriers — traffic falls back to DERP, Tailscale's relay infrastructure. DERP is encrypted end-to-end with WireGuard, so the relay cannot read your packets. But it can throttle them.
And here is the consequence that surprises people: throughput through DERP is not your internet speed. In practice DERP-relayed transfers run at a fraction of a direct connection — think single-digit to low-tens of megabits per second depending on region and load, not hundreds. If you are rsyncing a 200 GB backup to the NAS over a DERP relay, that is a weekend, not an afternoon.
How do you know which path you are on? Run tailscale ping <peer> — it reports whether the connection is direct or via DERP and which relay. If a machine you expected to be direct is stuck on DERP, the usual culprit is a symmetric NAT or a firewall blocking UDP 41641 outbound. Opening that port, or putting the peer on a network with a public IP, restores the direct path.
MagicDNS and the address conflict that costs an afternoon
MagicDNS gives every node a name like nas.tailnet-name.ts.net and injects it into your resolver. It is genuinely pleasant — no memorising 100.64.x.x addresses.
It is also where a specific class of bug lives. Tailscale uses the 100.64.0.0/10 CGNAT range for its internal addressing. If your office LAN already uses 100.64.0.0/10 for something (some ISPs hand out CGNAT addresses on WAN links, and some routers use it internally), you get overlapping routes and traffic that goes to the wrong place with no obvious error message.
The other common conflict: your corporate DNS or a VPN client that insists on being the only resolver. MagicDNS and a split-tunnel corporate VPN can fight over /etc/resolv.conf, and the symptom is not "VPN broken" — it is "some names resolve, others don't, intermittently". More on the topic: “VPN Anonymity Myth and Information Security Law: What Your VPN Really Hides About Your IP Address, DNS Leaks and Logs”.
If you are dealing with corporate VPN coexistence in general, the mechanics overlap heavily with how tunnel clients carve up routing tables: Cloudflare Tunnel Port Forwarding Checklist: 100-Second Idle Timeout, Upload Caps, and When to Rent a VPS.
Key expiry: the 180-day trap in a home lab
Tailscale node keys expire by default after 180 days. For a laptop a human uses, that is a reasonable security posture — re-authentication refreshes the key. For a headless server in a cupboard, it means one morning in month seven your backup job fails because the node key expired and nobody was there to click the re-auth link.
You can disable key expiry per node in the admin console. Do it for every machine nobody logs into interactively — NAS, Raspberry Pi, VM hosts. Leave it on for laptops and phones. This one setting prevents the single most common "my tailnet stopped working" incident in home labs.
When self-hosting Headscale is worth the weekend
Headscale is an open-source, self-hosted implementation of the Tailscale coordination server. It speaks the same protocol, so official Tailscale clients can connect to it. You run it on a VPS you control, and now the control plane is yours.
The trade-off is concrete:
- You gain: no dependency on a third-party coordination server, full control over ACLs and key distribution, works inside networks with strict data-residency rules.
- You lose: the polished admin UI, some newer client features that land in Tailscale first, and the convenience of DERP relays (you must run your own, or accept direct-only connections).
A realistic assessment: for a personal home lab, Headscale is a hobby project that costs you a weekend and gives you a VPS bill of roughly $5/month. For a small company with a compliance requirement that the coordination server sit in a specific country, it is the correct answer. For everyone in between, the hosted version is usually the pragmatic choice.
This is the same decision shape as choosing between managed and self-hosted infrastructure elsewhere. If you are weighing a rent-vs-build call in another domain, the logic transfers: GPU Break-Even Math for Self-Hosted LLM vs API in a RAG Pipeline.
Cost: the free tier is generous until it isn't
| Option | Realistic cost | What you get |
|---|---|---|
| Tailscale free (personal) | $0 | Up to 3 users, 100 devices — plenty for a home lab |
| Tailscale paid (per user) | Roughly $6–18/user/month depending on plan | More users, admin controls, audit logs |
| Headscale on a VPS | ~$5/month VPS + your time | Full control, no device limits |
| Plain WireGuard on a VPS | ~$5/month VPS + your time | Nothing but the tunnel; you build the rest |
The free tier covers almost every home lab. The cost question only bites when you cross into a team — and at that point you are paying for ACLs, audit logs, and SSO, not for the tunnel itself.
Plain WireGuard on a rented VPS costs the same $5 but shifts the work to you: you write the peer configs by hand, you manage keys, you handle the case where the VPS IP changes (it doesn't, usually), and you get a hub-and-spoke topology, not a mesh. Every device talks to the VPS; devices do not talk to each other directly.
The decision rule
Choose a mesh VPN (Tailscale or Headscale) when:
- You have more than ~3 devices that need to reach each other, and the set changes.
- At least one endpoint is behind CGNAT or a NAT you cannot control — hole punching is exactly what you are paying for.
- You want device-to-device paths, not everything funneled through one hub.
- You value the twenty minutes of setup over the two evenings of hand-rolled config.
Choose plain WireGuard on a VPS when:
- You have a stable set of 2–5 devices and a hub-and-spoke shape is fine (all traffic to the office, none between home devices).
- You want zero third-party dependency and are comfortable editing config files.
- You need a fixed public IP that other services can point at.
The honest summary: a mesh VPN saves you weeks when your topology is genuinely mesh-shaped and NAT is in the way. A plain WireGuard tunnel on a $5 VPS is cheaper and simpler when your topology is a star and you control at least one end. Most home labs are closer to the star than they think — until they add a second site and discover they needed the mesh after all.
If you want to build the hand-rolled version to understand what Tailscale is doing for you, that is the best way to learn the difference: Computer Networks (CCNA): Building a WireGuard Server on a VPS — A Practical Guide to VPN and Network Security.
And if you have already tried both and hit the CGNAT wall, there is a companion piece on the failure modes in detail: Tailscale vs Manual WireGuard: When a Private Network via DERP Relays Saves Evenings, and When It Breaks on CGNAT.
The mechanism you are paying for is not encryption — WireGuard gives you that for free. It is discovery: the automation that keeps a changing set of devices findable across NATs you do not control. Once you see that clearly, the choice stops being about which tool is "better" and becomes a question about whether your topology needs discovery at all.