🎧 [Listen] The Modern VPN Protocol Deep-Dive Series, Fully Recapped
This article is an audio-learning recap for anyone who’s already read all nine articles in the Modern VPN Protocol Deep-Dive series. Use your browser’s or phone’s text-to-speech feature and let it play in the background during a commute or while doing chores. There are no diagrams, tables, or code here — just spoken-style prose, stitching the whole series back together into a single, continuous thread.
The series opened with OpenVPN. Between “encrypting IP packets with TLS” and “having an actual VPN connection,” it turns out three separate mechanisms have to come together. First, how do you even get the IP packets that need to go into the tunnel from the OS in the first place — the TUN device. Second, inside a single encrypted TLS connection, how do you tell apart control traffic, like key exchange, from actual data — separating the control channel from the data channel. And third, once connected, how does the client actually learn the IP address and route information it needs to start sending packets into that tunnel — the push mechanism. Only once all three are in place does plain encrypted TLS traffic become an actual VPN connection.
Next came WireGuard. Its essence is a small table — the Cryptokey Routing Table — that binds a pre-exchanged public key one-to-one with the range of IP addresses allowed to route to that peer. Keys get established through a one-and-a-half round-trip handshake, built on the established Noise framework, and every packet after that gets encrypted and forwarded strictly according to that table. There’s no concept of “negotiation” at all — who you talk to and what you allow is expressed entirely through two simple data structures: a key pair, and that routing table. That bluntness is exactly what makes WireGuard both fast and easy to reason about.
Next came PresharedKey (PSK), an optional WireGuard feature. Against harvest-now-decrypt-later — recording today’s encrypted traffic and retroactively breaking the key exchange with a future quantum computer — WireGuard’s ordinary Curve25519 key exchange offers no defense at all, but a PSK is a practical one, because it’s a symmetric key, manually distributed ahead of time, that never once travels over the network. The final encryption key gets derived by cryptographically mixing the Curve25519 result with the PSK, so even if Curve25519 gets broken in the future, past traffic can’t be decrypted without knowing the PSK too. Don’t forget, though: this doesn’t mean full quantum resistance.
Then came Tailscale. Its essence is that it leaves WireGuard — the mechanism that actually encrypts and carries the data, the data plane — completely untouched, and instead builds something new in front of it: a mechanism that decides who is allowed to reach which device, how far, and keeps distributing that as WireGuard configuration to every device involved — the control plane. The operational headache WireGuard itself left unsolved — who distributes public keys ahead of time, and how — gets resolved here through identity-provider-backed user authentication and automatic key distribution via a coordination server. Leaving the underlying encryption mechanism alone, and solving only the operational problem sitting in front of it — that’s the key to understanding Tailscale.
Finally came ZTNA — Zero Trust Network Access. Where a VPN trusts any device that successfully authenticates as a full member of the network segment, ZTNA has no concept of “joining the network” at all. Every single request to an individual application gets its own moment of verification — checking the user’s and device’s state — before opening only the minimal path actually needed, and only temporarily. It’s not “the next version of VPN” — the precise understanding is that the very premise of what counts as the unit of trust is fundamentally different.
Next came the VPN kill switch. This isn’t a feature of the VPN protocol itself — it’s just a firewall policy that denies traffic by default except through the tunnel. It’s typically built from three combined rules: allow traffic to the VPN server, allow traffic via the tunnel, and deny everything else. And don’t forget: real-world testing confirmed that many implementations fail to honor that “fail closed” principle during a process crash or reboot.
Next came the DNS leak. Even while a VPN tunnel is fully connected, DNS queries alone can keep leaking outside it. Windows’s Smart Multi-Homed Name Resolution feature sends a DNS query out on every network interface simultaneously and adopts the fastest response, so the physically closer ISP DNS server almost always wins first, intentionally causing exactly this leak. Don’t forget: this isn’t a defect in the VPN software itself — it’s an existing design decision on the OS side.
Next came split tunneling. Under full tunneling, the default configuration, every bit of traffic during a VPN connection goes through the tunnel with no exceptions — but split tunneling routes only specific destinations’ traffic through the tunnel, letting everything else flow directly over the local connection. This keeps access to a local printer or NAS working, but traffic flowing outside the tunnel gets no VPN protection at all. Don’t forget: “connected to the VPN” isn’t synonymous with “all traffic is protected.”
The final article put what the WireGuard lecture covered to the test, hands-on. After building a tunnel between two servers, rewriting one side’s AllowedIPs setting from a narrow range to a broader one, with the routing table never touched at all, changed the actual range of what got forwarded. The lecture’s claim — that the mapping table between public keys and AllowedIPs is itself the real routing mechanism — got reproduced right there, as nothing more than rewriting one line of a config file. Alongside that, you also confirmed that WireGuard actually keeps re-establishing its session key in the background roughly every two minutes without interrupting traffic, and that the PersistentKeepalive setting exists not to keep the connection itself alive, but to maintain reachability through NAT.
Looking back across all nine articles, a single throughline emerges. OpenVPN taught us that encryption alone is not enough — three separate mechanisms are required. WireGuard stripped that mechanism down to its bare minimum — a key pair and a routing table — while also offering a practical hedge against a future quantum computer through one optional feature, the PSK, and the hands-on confirmed, firsthand, that this table really is the routing mechanism itself. Tailscale added a layer in front of that minimal mechanism to solve the operational problem it left behind. And ZTNA let go of the underlying premise of “joining a network” altogether. The discovery that a kill switch wasn’t some VPN-specific technology, but a combination of an existing mechanism, the firewall — that a DNS leak was an entirely different kind of leak hiding behind the “connected” state — and that split tunneling creates convenience and danger at the exact same time — carried the same spirit: digging one layer deeper past a name, to find the real identity underneath. Technology doesn’t just get newer in a straight line — it evolves through a series of decisions about what to build on, what to layer on top, and what to let go of entirely. Being able to see it that way is exactly what separates a top-1% engineer from everyone else. And that’s the recap of the Modern VPN Protocol Deep-Dive series, complete.