WireGuardLab
Flat isometric illustration of two pink padlock blocks under pale spotlights, joined by glowing pink lines that meet at a bright node between them.
comparisons

WireGuard vs Tailscale: Which One to Run

Choose between plain WireGuard, Tailscale, and Headscale. Compare setup for fixed sites and roaming devices, NAT traversal, relays, and access rules.

By WireGuardLab Editorial · ·Updated · 6 min read

Choose plain WireGuard for a few fixed peers when at least one endpoint is reachable and you want to manage the tunnel yourself. Choose Tailscale for roaming devices or when you want automatic peer discovery and access rules tied to user accounts.

Tailscale uses WireGuard to encrypt traffic between devices. The WireGuard protocol uses a Noise handshake, Curve25519 for key exchange, and ChaCha20-Poly1305 for authenticated encryption. Tailscale adds a control plane, which handles tasks such as distributing public keys and coordinating connections through NAT.

The short answer

Run plain WireGuard when the peers are few and mostly fixed, at least one end has a stable, reachable address, and you want the tunnel to run without a coordination service.

Run Tailscale when devices roam between networks, sit behind carrier-grade NAT, or need per-user access rules.

Run Headscale when you want automatic peer setup and prefer to operate the coordination server yourself.

Side by side

Plain WireGuardTailscale
Data planeKernel implementation available on LinuxBundled userspace WireGuard implementation
Key distributionConfigure the public keys of the peers each device talks toAutomatic through the coordination server
Peer discoveryConfigure an initial reachable endpoint on at least one sideAutomatic, with per-device addresses assigned for you
NAT traversalEndpoint roaming and optional keepalivesSTUN, port mapping and coordinated UDP probes
Fallback when direct failsUse a reachable hub you configureEncrypted connections through a peer relay or a Tailscale DERP relay
Access controlAllowedIPs associates IP ranges with each peerCentral policy distributed to devices for enforcement
IdentityPeers authenticate by public keySign-in through an identity provider
DNSSet DNS servers or search domains with wg-quickMagicDNS registers names for devices when enabled
External dependencyNo coordination service requiredHosted coordination service
CostNo WireGuard subscription. Hosting a hub can cost extra.Free Personal plan and paid plans for teams
Config growth in a full meshEach device lists every other peerEnroll devices and manage access through the central policy

For example, ten peers in a full mesh make 45 peer pairs. Each device lists the other nine peers. Replacing one device’s key pair means updating the nine peers that have its old public key. The mesh designer shows how the count grows as you add peers.

What the control plane actually does

Key distribution. Each device keeps its private key locally. The service distributes public keys to devices according to the network’s access rules. With plain WireGuard, you configure the public keys in each device’s peer settings. Tailscale control and data planes

NAT traversal. WireGuard updates a peer’s endpoint to the IP address and port of its most recent authenticated packet. PersistentKeepalive keeps an existing NAT mapping open. With Tailscale, both devices can learn their public endpoints through STUN and send UDP probes to try to establish a direct path. Tailscale can also use port mapping where the router supports it. WireGuard wg manual · Tailscale NAT traversal

A fallback path. When Tailscale cannot connect devices directly, traffic can flow through a peer relay or a Tailscale DERP relay. In either case, WireGuard still encrypts the traffic end to end. With plain WireGuard, you can configure both peers to connect to a reachable hub. Tailscale connection types

Identity and policy. Tailscale can grant a user access to a specific destination and port. Plain WireGuard authenticates peers by public key. Its AllowedIPs setting associates a peer’s key with IP ranges for sending and receiving traffic. Tailscale grants syntax

Where plain WireGuard wins

No external dependency. Configured peers with a working network path can connect without a coordination service. For a site to site link between two buildings, plain WireGuard is a good fit when the gateways are fixed and you manage both ends.

Kernel data plane. On Linux you can run WireGuard in the kernel. WireGuard Quick Start

Configuration you can inspect. Each peer entry shows the public key and IP ranges assigned to that peer. You can review the configuration on each gateway to see which peers it trusts.

Where plain WireGuard hurts

More peer entries as a mesh grows. Each new device in a full mesh requires a peer entry on every existing device.

Manual revocation. To revoke a device’s access, remove its public key from each WireGuard interface that trusts it and update the saved configuration.

Both ends behind CGNAT. A port forward on your router cannot change the ISP’s carrier-grade NAT. If neither peer has a reachable endpoint, use a reachable hub, an available IPv6 path, or an overlay with relay support.

Troubleshooting is up to you. Use wg show to inspect the peer’s latest handshake. Then check the WireGuard fundamentals for keys, routing and NAT, or the MTU calculation guide for tunnel overhead.

Where Tailscale hurts

A dependency you do not operate. Established connections can keep working during a coordination outage while keys remain valid. Enrolling a new device, updating policy, and refreshing keys need the service. Tailscale’s coordination outage guide

Metadata visibility. Traffic stays encrypted between devices, including across relays. The coordination service still handles device information such as public keys and IP addresses.

Relayed connections can be slower. A direct connection typically has lower latency and higher throughput than a relayed one. Whether devices can connect directly depends on the networks they use.

The middle option: Headscale

Headscale is an open source implementation of the Tailscale control server for a single Tailscale network. It exchanges public keys and assigns addresses to devices. It suits self-hosters who are comfortable keeping the coordination server available, backing it up, and checking client compatibility before upgrades.

Choosing, concretely

  • Two offices with fixed gateways. Choose plain WireGuard if at least one gateway has a reachable UDP endpoint.
  • A homelab and three of your own devices. Choose plain WireGuard in a hub-and-spoke setup if your router or server is reachable. The Ubuntu server and client setup shows that setup.
  • Laptops that roam between offices, homes, and cellular networks. Choose Tailscale for automatic discovery and relay fallback. Consider Headscale if you want to host the control server.
  • Contractors who need one internal service. Use Tailscale grants to allow only the users, destination, and port they need.
  • A private network with no access to a hosted coordination service. Choose plain WireGuard if you can manage peer keys and both ends have an underlying network path.

You can use plain WireGuard for fixed site-to-site links and Tailscale for roaming devices.

Evidence and limits. This comparison is based on the WireGuard protocol and tools documentation, the hosted Tailscale service documentation, and the Headscale project documentation. The example setups were not run.

Where to go next

  • WireGuard keys, AllowedIPs and NAT traversal covers the mechanics both options are built on, and why a control plane exists at all.
  • The WireGuard MTU calculator works out tunnel overhead so you can choose an MTU for your underlying connection.
  • OPNsenseLab is the place to look if the hub in a plain-WireGuard build will be an OPNsense firewall rather than a VPS, since that is where the tunnel interface and its routing get configured.
  • pfSenseLab covers the same job on pfSense, including the NAT and port-forward rules that decide whether an inbound handshake reaches your endpoint at all.

Sources

  1. WireGuard Protocol and Cryptography
  2. WireGuard Quick Start
  3. WireGuard wg Manual
  4. WireGuard wg-quick Manual
  5. How NAT traversal works (Tailscale)
  6. What is Tailscale? (Tailscale documentation)
  7. About WireGuard (Tailscale documentation)
  8. Tailscale control and data planes
  9. Tailscale connection types
  10. Tailscale MagicDNS
  11. Tailscale pricing
  12. What happens if the Tailscale coordination server is down?
  13. Tailscale grants syntax
  14. Headscale: open source Tailscale control server

Related