← Blog Security & BYOC architecture • 8 min read WireGuard vs. Tailscale for private networking between your servers
“WireGuard or Tailscale” isn’t actually a choice between two competing VPNs — it’s a question that mixes up a protocol with a product built on top of it. WireGuard is the tunnel: a minimal, kernel-level implementation that encrypts packets between two peers who already know each other’s public keys. Tailscale is what you get when a company takes that tunnel and builds the parts WireGuard deliberately doesn’t include — a way for peers to find each other, get through NAT, and decide who’s allowed to talk to whom. Understanding where one ends and the other begins is most of what you need to pick correctly.
What WireGuard actually is
WireGuard’s own site describes it plainly: “an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography,” designed around a specific, stated goal — to be “as easy to configure and deploy as SSH,” where “the administrator configures one of the peer’s public keys, as well as a tunnel endpoint, and the rest is transparent.” That simplicity-first design extends to the codebase itself: WireGuard’s stated purpose is to avoid the “gigantic codebases” of IPsec and OpenVPN in favor of something small enough for “comprehensive auditability by single individuals,” explicitly modeled on SSH and Mosh rather than the connection-management complexity of older VPN stacks.
The cryptography underneath is a fixed, opinionated stack rather than a negotiable suite of options: Curve25519 for key exchange, ChaCha20 for symmetric encryption, Poly1305 for authentication, BLAKE2 for hashing, built on the Noise protocol framework. WireGuard’s own protocol documentation specifies the handshake as Noise_IK — a two-message exchange (initiator sends an ephemeral public key plus an encrypted static key and timestamp; responder replies with its own ephemeral key and an encrypted payload) that the docs state provides perfect forward secrecy and resistance to key-compromise impersonation and replay attacks. Rekeying is automatic and silent: a new handshake is triggered either after a fixed amount of time (REKEY_AFTER_TIME) or after a fixed number of packets (REKEY_AFTER_MESSAGES), so session keys rotate every few minutes without any administrator action. One specific, deliberate security property worth naming directly from the docs: “the server does not even respond at all to an unauthorized client; it is silent and invisible” — an unauthenticated probe against a WireGuard endpoint gets nothing back, not even a rejection.
On the performance claims, it’s worth being precise about what’s verifiable and what isn’t: WireGuard’s own site states it is “faster” and “leaner” than IPsec and “considerably more performant than OpenVPN,” attributing this to high-speed cryptographic primitives and a kernel-level implementation rather than a userspace one. But the project’s own performance page carries this direct disclaimer: “these benchmarks are old, crusty, and not super well conducted… it is a work in progress to replace the below benchmarks with newer data.” That’s a rare level of honesty worth preserving rather than smoothing over — the qualitative claim (kernel-level, modern ciphers, minimal overhead) is well-supported by the design itself, but a specific “X% faster than OpenVPN” number isn’t something WireGuard’s own site currently backs with fresh data.
What raw WireGuard leaves entirely to you
The “as easy as SSH” framing cuts both ways. Like SSH, WireGuard assumes you already have a way to get the other side’s public key, and a routable address to reach it on. Point-to-point, static configuration is the default mode: each peer’s config file lists the other peers’ public keys and endpoints by hand. There’s no built-in mechanism for a peer to discover other peers, no central place to revoke a compromised key across a whole fleet at once, no NAT traversal for two peers that are both behind separate home routers with no port forwarding configured, and no access-control layer beyond “this peer’s key is or isn’t in my config.” None of that is a flaw — it’s the same minimalism that makes the attack surface small — but it means that running WireGuard directly across more than a handful of servers is a key-distribution and config-management problem you’re solving yourself, by hand or with your own tooling, indefinitely.
What Tailscale adds on top
Tailscale’s own “What is Tailscale” documentation describes itself as a “Zero Trust identity-based connectivity platform” built on WireGuard — explicitly a layer on top, not a replacement for the underlying protocol. Tailscale’s own explanation of its mechanics lays out exactly what that layer does:
- A coordination server as a key drop box, not a traffic relay. Each device generates its own WireGuard keypair locally; the private key never leaves the device. Public keys and current network locations get published to Tailscale’s coordination server, which distributes them to other authorized devices in the same account (“tailnet”). The actual encrypted data traffic still flows peer-to-peer over WireGuard directly between devices — the coordination server’s job is introductions, not carrying packets.
- NAT traversal that raw WireGuard doesn’t attempt. Using STUN/ICE-style techniques and UDP hole punching, Tailscale gets two devices behind separate, unrelated NATs talking directly to each other without manual port forwarding — solving exactly the problem a hand-configured WireGuard peer list leaves to you.
- DERP relays as a fallback, not the default path. When a direct connection genuinely can’t be established — a strict corporate network blocking the relevant UDP traffic, for instance — Tailscale falls back to its own globally distributed relay servers (DERP: “Designated Encrypted Relay for Packets”). Because the traffic passing through a DERP relay is still the same WireGuard-encrypted payload, the relay itself can’t decrypt it; it’s forwarding ciphertext it has no key to read.
- Centralized access control and identity. ACLs live on the coordination server and get pushed out to every device, which enforces them locally — a single place to define and change who can reach what, instead of editing config files across a fleet. Authentication rides on existing identity providers (OAuth2/OIDC/SAML — Google, Microsoft 365, and similar), so Tailscale itself never has to store user credentials directly.
This is also a priced product, not a free layer: Tailscale’s own pricing page lists Personal as free, for up to 6 users with 3 ACL groups and 50 tagged resources; Standard at $8 per user, per month, adding unlimited users, SCIM provisioning, 10 ACL groups, MDM configuration and device posture checks; Premium at $18 per user, per month, adding 300 ACL groups, just-in-time access, advanced SSH, and network flow/log streaming; and Enterprise at custom pricing with dedicated support and custom tailnet subdomains.
Where each one is actually the right call
Raw WireGuard is the right tool when the topology is small, mostly static, and entirely under your own control — a handful of servers you manage directly, where you’re comfortable owning key distribution yourself and nothing needs to traverse an unpredictable NAT you don’t control. It’s also the right call when you specifically don’t want a third party’s coordination server anywhere in the picture, even one that (per Tailscale’s own description) never holds private keys or decrypts traffic — some threat models or compliance postures simply prefer zero external dependencies in the control plane, full stop.
Tailscale earns its per-user price when the actual problem is coordination at scale: a fleet of laptops, contractors’ machines, and cloud instances that change IP addresses, sit behind NATs you don’t control, and need centrally revocable access rather than a config file edited by hand on every node. The NAT traversal and DERP fallback specifically solve a problem raw WireGuard has no answer for at all — two peers with no public, reachable endpoint between them.
What this means for you
- “WireGuard vs. Tailscale” is really “protocol vs. coordination layer built on that protocol” — Tailscale doesn’t compete with WireGuard’s cryptography; it automates everything WireGuard leaves to the administrator.
- A small, static fleet of servers you fully control is the clean case for running WireGuard directly — no coordination server dependency, no per-user fee, and you already have a stable way to exchange public keys and reach each endpoint.
- A mix of laptops, contractors, and devices behind unpredictable NATs is the clean case for Tailscale — NAT traversal and centralized ACLs are specifically the parts raw WireGuard doesn’t attempt to solve.
- DERP relays don’t weaken WireGuard’s security model — per Tailscale’s own description, a relay forwards already-encrypted ciphertext it has no key to read; it’s a connectivity fallback, not a trust boundary change.
- Don’t take “WireGuard is faster than OpenVPN” as a number you can cite precisely — WireGuard’s own site flags its published benchmarks as outdated and due for replacement; the qualitative design argument (kernel-level, modern ciphers, minimal codebase) stands on its own regardless.
FAQ
Is Tailscale just WireGuard with a nicer interface? No — it’s WireGuard for the actual encrypted tunnel, plus a coordination server for key distribution and discovery, NAT traversal via hole punching, DERP relay servers as a connectivity fallback, and centralized access-control policy. The cryptography is unchanged; everything else is new.
Can Tailscale’s relay servers read my traffic? Per Tailscale’s own description of DERP, no — relays forward already-WireGuard-encrypted packets and don’t hold the keys needed to decrypt them. They’re a fallback path for when a direct peer-to-peer connection can’t be established, not a point where plaintext is ever visible.
Does raw WireGuard support NAT traversal on its own? No — WireGuard’s own design assumes you already have a way to exchange public keys and a reachable endpoint for each peer. Automatic NAT traversal (STUN/ICE-style hole punching) is something Tailscale adds on top, not a feature of the underlying protocol.
How much does Tailscale cost for a small team? Per Tailscale’s own pricing page: free for personal use up to 6 users; $8 per user per month on the Standard plan for unlimited users with SCIM and MDM support; $18 per user per month on Premium for advanced compliance and access features; custom pricing for Enterprise.
Private networking without running either one yourself
The tradeoff this whole comparison runs on — own your key distribution, or pay a per-user fee for someone to automate it — assumes you’re choosing between configuring raw WireGuard by hand or buying Tailscale as a product. There’s a third shape: a platform that puts an encrypted WireGuard mesh under every server you attach as a baseline feature, not a separately purchased layer. Railyard’s own private networking does exactly that — every server on a team can join a shared, encrypted network, and <name>.railyard.internal resolves correctly whether two apps sit on the same server, different servers with private networking off (falling back to the normal public HTTPS address rather than failing), or different servers on the mesh. No coordination server to run, no per-user pricing — the mesh is a property of the team, not something re-configured per server as you grow.
Sources
- WireGuard — WireGuard’s own project site
- WireGuard Protocol — WireGuard’s own documentation, Noise_IK handshake and rekeying
- WireGuard Performance — WireGuard’s own site, including its own disclaimer about outdated benchmarks
- What is Tailscale? — Tailscale’s own documentation
- How Tailscale works — Tailscale’s own engineering blog
- Tailscale Pricing — Tailscale’s own pricing page