WireGuard vs Tailscale vs OpenVPN for development
Pick WireGuard for a small stable mesh, Tailscale for keying and NAT help, OpenVPN when TCP 443 or directory auth wins.
Published here , updated · 7 sources · Resume reading
Developers reach home labs and staging boxes over three common private-path tools. WireGuard is a small UDP tunnel with cryptokey routing [1]. Tailscale wraps WireGuard so peers get keys, NAT help, and ACLs without hand-edited mesh files [2]. OpenVPN is a mature SSL/TLS VPN with certificate or password auth and TCP or UDP transport [3].
For the Tailscale v1.106 hybrid WireGuard plus ML-KEM-768 upgrade path, see Tailscale v1.106 hybrid ML-KEM-768.
Quick start (under a minute)
Write your mesh size and who edits configs:
| If this is true | Start here |
|---|---|
| Two Linux boxes, you like editing files | Raw WireGuard [1] [2] |
| Phones, laptops, NAT chaos, shared ACLs | Tailscale [2] |
| Policy demands TLS on TCP 443 or cert/password directory login | OpenVPN [3] |
If the answer is "I just do not want to expose SSH publicly," any of the three can work once you finish keying and firewall rules. Pick based on who maintains the mesh in six months.
Three stacks on one diagram
WireGuard's own overview: add an interface, set your private key and peers' public keys, send packets. Key distribution and pushed configuration stay out of scope on purpose [1].
Map the job before you pick a brand
| Job | WireGuard alone [1] | Tailscale [2] | OpenVPN [3] |
|---|---|---|---|
| Encrypt peer traffic | Noise, Curve25519, ChaCha20, Poly1305 | Same WireGuard crypto | SSL/TLS VPN (layer 2 or 3) |
| Distribute keys | Manual public key exchange | Login plus control plane | CA, certs, or username/password |
| Punch through NAT | Keepalive helps; relays are your problem | On-demand NAT traversal; relay if needed | Often needs open ports or proxy path |
| Admin model | Text configs plus OS firewall | Central ACLs, tags, MagicDNS | Server process, pushed options |
Worked example: WireGuard config shape
WireGuard aims to configure like SSH: exchange short public keys, then the interface handles the tunnel [1]. A teaching wg0 file (no real keys) matches the project samples [1]:
[Interface]
PrivateKey = YOUR_PRIVATE_KEY
Address = 10.0.0.1/32
ListenPort = 51820
[Peer]
PublicKey = PEER_PUBLIC_KEY
AllowedIPs = 10.0.0.2/32
Endpoint = peer.example.com:51820
PersistentKeepalive = 25What you should see after wg-quick up wg0 (shape per WireGuard tooling docs [1]): interface wg0 appears; wg show lists the peer with latest handshake time; ping 10.0.0.2 works when the far side allows ICMP.
Observed on this draft host (2026-12-03): wg was not installed. Do not paste placeholder keys into production. For a VPS walkthrough, use WireGuard from scratch on a Linux VPS.
AllowedIPs is cryptokey routing: outbound policy and inbound acceptance in one list [1]. You own endpoint updates, firewall holes, and every new peer line when the mesh grows.
Prefer Tailscale when the mesh keeps growing
Tailscale's compare page: install and log in on each device; Tailscale manages keys and configuration [2]. That matters when devices belong to non-technical users or when a full mesh would need a peer entry for every pair under raw WireGuard [2].
Tailscale documents on-demand NAT traversal and encrypted relays when direct paths fail [2]. For agent hosts that must stay off public SSH, see Tailscale for agent machines.
tailscale statusExpected shape per Tailscale CLI docs linked from their compare page [2]: your node name, Tailscale IPv4/IPv6, peer list, and relay/direct hints. Treat the security note as a product claim: private keys stay on device; you still trust Tailscale for coordination and policy distribution [2].
Prefer raw WireGuard for a tiny stable Linux mesh
Tailscale's compare page still credits kernel WireGuard on Linux for small, stable server sets where you accept manual peer files [2]. Performance-sensitive paths sometimes avoid userspace overhead by running kernel WireGuard directly [1] [2].
Reach for OpenVPN when TCP 443 or directory auth is the requirement
OpenVPN's community how-to describes a full-featured SSL VPN: client/server over one TCP or UDP port, certificates, smart cards, and/or username/password, plus firewall rules on the VPN interface [3]. It is not a web application proxy and does not operate through a web browser [3].
That stack is heavier (CA, server configs, hardening notes in the same how-to) and still fits when network policy demands TLS-on-443 or existing directory login rather than a WireGuard-style key exchange [3]. Tailscale publishes a migrate-from-OpenVPN guide if you leave that world for a WireGuard-based mesh [4].
Decision sheet for a side project
- One laptop and one VPS, you like editing
wg0.conf: WireGuard alone [1] [2]. - Many devices, phones, changing NATs, shared ACLs: Tailscale [2].
- Corporate TCP 443 or cert/password directory auth: OpenVPN, then reassess [3] [4].
Never expose SSH on 0.0.0.0 because "Tailscale is too much work" when a single peer config would take ten minutes [1].
Latency and ops reality
VPN adds encapsulation and sometimes relay hops. For interactive SSH, measure RTT after connect (what is latency). For CI runners, prefer stable endpoints and documented ACL tags over ad hoc port forwards.
Logging: Tailscale and OpenVPN centralize admin views; raw WireGuard relies on OS logs and wg show handshakes [1] [2] [3]. Pick the ops story your on-call roster can actually run.
Rotate keys and document break-glass
WireGuard identifies peers by static public keys [1]. When a laptop is stolen, you revoke by removing its public key from every peer list or ACL. Tailscale ties rotation to device keys plus control plane revocation [2]. OpenVPN revolves around certificate validity and CRLs [3].
Write one paragraph in your runbook: who can disable a peer at 3 a.m., and which break-glass SSH path remains if the VPN control plane is down. None of the three options removes that planning step.
Where people go wrong
Publishing SSH to the world because staging was "hard to reach."
Treating Tailscale as a different cipher when it is WireGuard plus coordination [2].
Growing a full mesh in flat wg configs without automation, then blaming WireGuard for config sprawl.
Choosing OpenVPN for performance reasons without measuring; modern WireGuard is often faster on Linux paths per Tailscale's own compare notes [2].
VPN replaces MFA and device posture checks inside the private net.
MagicDNS does not mean you can skip documenting real internal DNS dependencies.
Pick the column in the comparison table that matches who rotates keys next month, then re-read the OpenVPN line: it is not a web application proxy sitting in front of HTTP [3]. For the private-path vocabulary without product branding, start at what is a VPN; agent boxes that already speak Tailscale belong in Tailscale for agent machines; once the tunnel works, tidy host aliases with SSH config.
Send this to the friend who picks a VPN brand before naming who rotates keys at 3 a.m.

Keep this guide
Questions about this guide
Is Tailscale a different protocol from WireGuard?
Tailscale's compare page says Tailscale is built on WireGuard and uses the same point-to-point encryption. The product adds key distribution, NAT traversal, MagicDNS, and ACLs on top.
When should I run WireGuard myself?
Tailscale's compare page says WireGuard alone fits a small, stable set of Linux servers where you accept hand-written configs. Every fully connected pair needs a peer entry, so config count grows with mesh size.
What does OpenVPN add that WireGuard deliberately leaves out?
OpenVPN's community how-to describes an SSL/TLS VPN with client/server mode, certificate or username/password auth, TCP or UDP, and policies on the virtual interface. WireGuard's project page keeps key distribution and pushed configs out of scope.
Does Tailscale decrypt my traffic?
Tailscale's compare page states a device's private key never leaves the device, so Tailscale cannot decrypt the WireGuard traffic. You still depend on Tailscale's control plane for coordination and ACLs.
Sources
- WireGuard project home, accessed 2026-12-03wireguard.com
- Full Byte Developer: What is a VPNfullbytedeveloper.com
- Full Byte Developer: Tailscale for agent machinesfullbytedeveloper.com
- Full Byte Developer: WireGuard from scratch on a Linux VPSfullbytedeveloper.com