Tailscale vs Manual WireGuard: When a Private Network via DERP Relays Saves Evenings, and When It Breaks on CGNAT

Imagine: you've set up a home server, you want to connect to it from your phone on the subway, but it's behind your ISP's NAT. Or you need to reach your work computer from the office, but the admin doesn't want to open ports to the outside. Sound familiar? That's exactly the case Tailscale was invented for — a service that builds a private network on top of WireGuard, bypassing NAT and not requiring a public IP. In this article, I'll explain how it works, where it breaks, and who it suits — and for whom an SSH tunnel is simpler.

What is Tailscale and why do you need it if WireGuard exists?

WireGuard is an excellent protocol: fast, modern, with minimal code. But it has a problem: to connect two devices behind NAT, you have to manually specify endpoints, keys, and routes. And if there are ten devices and they change networks? Configuration hell begins.

Tailscale takes WireGuard and adds a coordination layer. You install the client on each device, log in via Google or GitHub — and all machines see each other by stable names, like on a local network. No open ports, no manual configs.

Key idea: Tailscale is not a VPN server, but a distributed network where each node connects directly to every other (peer-to-peer), and the coordinator only helps them find each other. More on the topic: “VPN Anonymity Myth and Information Security Law: What Your VPN Really Hides About Your IP Address, DNS Leaks and Logs”.

How Tailscale bypasses NAT and why it doesn't always work

When two devices behind NAT want to connect, Tailscale uses hole punching: both nodes simultaneously send packets to each other, and the NAT devices open temporary ports for the response. In most cases this works — a direct connection is established.

But there are pitfalls. If the ISP uses symmetric NAT (often in mobile networks or corporate networks with CGNAT), hole punching may fail. Then traffic goes through DERP relays — Tailscale servers that forward packets. This is slower and puts load on Tailscale's infrastructure, but the connection remains encrypted.

When DERP turns on automatically If a direct connection isn't established within a few seconds, Tailscale switches to a relay. You'll notice it by the latency: ping will rise to 100–200 ms instead of 10–20 ms.

In my experience, there was a case: an office server behind a corporate NAT stubbornly refused to connect directly to a home laptop. Tailscale persistently used DERP. The reason turned out to be that the IT department blocked outgoing UDP packets on non-standard ports. I had to ask the admins to allow at least one port — and the speed increased several times over.

MagicDNS: names instead of IPs — more convenient than it seems

Memorizing device IP addresses is a thing of the past. Tailscale enables MagicDNS: each device gets a name like device-name.tailnet-xxxx.ts.net. You can refer to the server by the name home-server from anywhere, and it will resolve to the correct IP within your network.

This is especially convenient for SSH: instead of ssh user@100.101.102.103 you write ssh user@home-server. If you have multiple devices, MagicDNS saves a ton of time.

ACL: who can go where

By default in Tailscale, all devices see each other. But if you add colleagues' devices or family members, it's worth restricting access. For this there are ACLs (Access Control Lists) — a JSON file that describes rules: which users or groups can connect to which nodes and ports.

For example, you can allow access to the home server only from your phone and laptop, and to colleagues — only to the office printer. The rules are applied on the coordinator, so they can't be bypassed.

Free tier vs paid: where's the line

Tailscale is free for personal use: up to 100 devices and 3 users. That's enough for most enthusiasts. Paid tiers start with expanded limits, additional features like auditing, SSO, and support. For a home private network, the free tier is more than enough.

But there's a nuance: the free tier doesn't provide SLA guarantees and may have restrictions on traffic through DERP relays (though there are no explicit limits). If you plan to push large volumes of data through a relay, it's better to set up a direct connection or consider a paid plan.

Where Tailscale breaks: three typical situations

  1. Complex NAT and CGNAT. As mentioned, symmetric NAT kills direct connections. Solution: use DERP (slow) or forward a port on one of the devices (if possible).

  2. Sleeping devices. If a device goes to sleep, it disappears from the network. Tailscale cannot wake it remotely. For a home server this is critical: configure it not to sleep, or use Wake-on-LAN (but that requires another communication channel).

  3. Corporate restrictions. Many companies block non-standard ports and protocols. Tailscale may not work in strict networks. In such cases, only a conversation with the admin or using alternatives will help.

Comparison with manual WireGuard and classic VPN

Let's compare three approaches.

Criterion Tailscale Manual WireGuard Classic VPN (OpenVPN, IPsec)
Setup Minutes, automatic Hours, manual Hours, complex
NAT traversal Automatic (hole punching) Requires port forwarding or relay Requires public IP
Performance Direct connection — excellent, via DERP — average Depends on configuration Usually lower due to encryption
Centralization Tailscale coordinator None Server-based
Security WireGuard + ACL WireGuard Various protocols

Conclusion: if you need to quickly connect several devices and don't want to fiddle with configs — Tailscale is ideal. If you want full control and don't trust the coordinator — set up WireGuard manually. If you need a classic VPN with a centralized gateway for internet access — look towards OpenVPN or IPsec.

When is a regular SSH tunnel enough?

If your task is simply to connect to one server occasionally, Tailscale may be overkill. An SSH tunnel (e.g., ssh -L 8080:localhost:80 user@server) solves the problem without installing additional software. But if you have many devices and services, Tailscale saves evenings of setup.

Try before buying a paid VPN Install Tailscale on two devices and check the direct connection. If it works, you don't need a paid VPN for accessing your home network.

How to start: step-by-step plan

  1. Sign up at tailscale.com (free).
  2. Install the client on your home server and phone.
  3. Log in to the same account on both devices.
  4. Check connectivity: tailscale ping device-name.
  5. Configure ACLs if you need to restrict access.

That's it, your private network is ready. For most home scenarios, this is enough.

So what's the bottom line?

Tailscale is a convenient tool for creating a private network between devices without the headache of NAT and ports. It doesn't replace a full-fledged VPN for accessing the internet through a server, but it's great for accessing home services, remote work, and uniting devices into a single network. If you value time and don't want to deal with WireGuard manually — try Tailscale. If you need full control or traffic must go through your server — consider manual setup. In any case, now you have criteria for choosing.

For more on setting up WireGuard on a VPS, read the article Computer Networks (CCNA): Building a WireGuard Server on a VPS — A Practical Guide to VPN and Network Security.

ASI Biont supports connection to Tailscale via API — learn more at asibiont.com.

← All posts

Ask AI about this article

Ask a question about this article — ASI Biont will answer based on its text.