VPN protocols determine the actual security guarantees, speed characteristics, and reliability of any VPN connection — far more than any marketing claim about “military-grade encryption.” This guide explains the three modern VPN protocols that matter in 2026 (WireGuard, OpenVPN, IKEv2/IPsec), the legacy protocols you should actively avoid and why, and does it all using real specifications, named academic research, and documented CVE histories, not vague superlatives.

Table of Contents
Why VPN Protocols Actually Matter
Every VPN app has a protocol setting, and most users never touch it. That’s a missed opportunity: the underlying VPN protocol is the actual engineering that determines whether your connection is fast, whether it survives switching from Wi-Fi to cellular, and how large an attack surface exists for a security researcher (or attacker) to find flaws in. Understanding VPN protocols — even at a basic level — lets you make an informed choice instead of trusting a provider’s marketing copy.
WireGuard: The Modern Standard
History and Kernel Adoption
WireGuard was created by Jason A. Donenfeld and first released in 2015, with its formal academic paper — “WireGuard: Next Generation Kernel Network Tunnel” — presented at NDSS Symposium 2017. It was merged directly into the Linux kernel mainline in version 5.6, released March 29, 2020 — a significant validation, since kernel maintainers scrutinize code merged at that level extremely closely.
Why It’s Considered Simpler and More Auditable
WireGuard’s own project site explicitly contrasts its implementation with “behemoths like *Swan/IPsec or OpenVPN/OpenSSL.” The widely-cited comparison — WireGuard’s implementation runs under 4,000 lines of code, versus roughly 70,000+ lines across OpenVPN’s own codebase — is a real, frequently-repeated technical claim, verifiable directly against both projects’ public GitHub repositories rather than a vendor’s marketing summary. A smaller codebase is a genuinely meaningful security property: less code means fewer places for vulnerabilities to hide, faster security audits, and a smaller surface for security researchers to review in the first place.
Cryptography and Formal Verification
WireGuard uses a fixed, modern cryptographic suite — ChaCha20 for symmetric encryption, Poly1305 for message authentication, Curve25519 for key exchange, and BLAKE2s for hashing. Unlike older protocols, WireGuard doesn’t offer cipher negotiation or legacy fallback options — a deliberate design choice that eliminates an entire category of downgrade attacks. It has also undergone real, independent academic verification, an unusual level of scrutiny for a VPN protocol:
- “Formal Verification of the WireGuard Protocol” (Donenfeld & Milner, 2018), using the Tamarin prover
- “A Cryptographic Analysis of the WireGuard Protocol” (Dowling & Paterson, 2018)
- “A Mechanised Computational Analysis of the WireGuard Virtual Private Network” (Lipp et al., 2018)
OpenVPN: The Battle-Tested Veteran
History and Track Record
OpenVPN was created by James Yonan and first released May 13, 2001. Yonan later co-founded OpenVPN Inc. with Francis Dinha to commercially support the project, which remains open source (GPLv2). More than two decades of continuous, public production use is the actual, defensible basis for OpenVPN’s “battle-tested” reputation — not a marketing invention, but a real track record of security scrutiny over time. It relies on the OpenSSL library, supporting AES (the current recommended standard) alongside older, largely phased-out ciphers like Blowfish or 3DES in legacy configurations.
The TCP-over-TCP Problem
OpenVPN can run over either UDP or TCP. When you tunnel TCP traffic (like a web page load) inside an OpenVPN connection that’s itself running over TCP, you get two independent layers of congestion control and retransmission logic competing with each other — a well-documented phenomenon called “TCP meltdown” that can severely degrade throughput. OpenVPN’s own documentation explains this directly, which is why UDP mode is generally recommended whenever a network allows it.
Documented Vulnerabilities
Like any mature, widely-deployed software, OpenVPN has a real, published CVE history — a sign of active maintenance and disclosure, not a reason for alarm on its own. Examples include CVE-2020-15077 (an OpenVPN Access Server authentication bypass affecting servers with deferred authentication configured) and a management-interface cross-protocol scripting issue in versions through 2.4.5. See OpenVPN’s own security advisories page for the current list.
IKEv2/IPsec: Built for Mobile
MOBIKE: The Real Engineering Behind Its Reputation
IKEv2 (Internet Key Exchange version 2) is an IETF standard, specified in RFC 7296, typically paired with IPsec for the actual data encryption. Its reputation for surviving network switches (like moving from home Wi-Fi to cellular data mid-connection) comes from a specific, real extension: MOBIKE (Mobility and Multihoming Protocol), specified in RFC 4555. MOBIKE lets the IP addresses tied to an active security association change without tearing down and re-establishing the whole session — the actual engineering behind IKEv2’s smooth reconnection behavior, not a vague claim.
Native OS Support and Documented Vulnerabilities
iOS has shipped native IKEv2 client support since iOS 8, and current Windows and macOS versions include built-in IKEv2 VPN clients that don’t require installing a third-party app at all. Most real-world IKEv2 CVEs are implementation-specific (affecting software like strongSwan) rather than flaws in the IKEv2 specification itself — an important distinction. Examples include CVE-2021-45079 (a strongSwan authentication bypass via premature EAP-Success, fixed in 5.9.5) and CVE-2018-10811 (an uninitialized variable affecting key derivation in certain strongSwan configurations).
Legacy VPN Protocols You Should Actively Avoid
Not every protocol still offered in an old router’s settings menu or a legacy corporate VPN client deserves to be there. Two in particular have real, documented, dated security failures — not just “outdated” in a vague, hand-wavy sense, but specific, named, publicly demonstrated breaks that anyone can look up.


PPTP: Publicly Broken in 2012
Security researcher Moxie Marlinspike, with David Hulton and Marsh Ray, presented “Defeating PPTP VPNs and WPA2 Enterprise with MS-CHAPv2” at DEF CON 20 in July 2012. He released a tool called chapcrack that parses a captured MS-CHAPv2 handshake — the authentication method PPTP relies on — into a token submittable to an online cracking service, which returned the recovered key in under 24 hours using dedicated FPGA hardware. Marlinspike’s own public advice at the time was blunt: treat PPTP traffic as unencrypted from a security standpoint. (The Register, July 2012) If a device or provider still offers PPTP as an option in 2026, that’s a signal about how seriously it takes security generally, not just about that one specific protocol choice.
L2TP/IPsec: The Snowden-Era Concerns
Documents leaked by Edward Snowden and reported by Der Spiegel in December 2014 described the NSA’s “Bullrun” program capturing IKE/ESP handshake traffic (the key-exchange mechanism IPsec relies on) and processing it through high-performance computing to recover session keys — with NSA reportedly processing roughly 1,000 VPN-decrypt requests per hour by late 2009, projected to reach 100,000/hour by the end of 2011. Separately, EFF co-founder John Gilmore has publicly argued the IPsec standard itself was deliberately weakened during its original IETF standardization process, citing NSA-affiliated individuals who held editorial roles on the working group — his own published analysis and opinion, not a leaked document confirming it directly, so it’s worth citing as his stated position rather than settled fact. Either way, the practical guidance is the same regardless of which account of events you find more convincing: prefer WireGuard, OpenVPN, or IKEv2 with a modern implementation over legacy L2TP/IPsec wherever you have the choice.
Speed: What Independent Research Actually Shows


Most “VPN protocol speed comparison” content online comes from VPN providers’ own marketing blogs, not independent research. We looked for actual peer-reviewed academic sources instead.
“Empirical Performance Analysis of WireGuard vs. OpenVPN in Cloud and Virtualised Environments Under Simulated Network Conditions” (Anyam, Singh, Larijani & Philip, Computers, 2025) found results that were context-dependent, not a uniform “WireGuard wins”:
- On a VMware testbed, WireGuard showed notably higher TCP throughput (210.64 Mbps vs. 110.34 Mbps) and much lower packet loss (12.35% vs. 47.01%) than OpenVPN.
- On Azure, baseline performance was similar between the two (roughly 280–290 Mbps) — but under simulated high-latency conditions, OpenVPN actually outperformed WireGuard (120 Mbps vs. 60 Mbps).
We were not able to find a rigorous, independent, peer-reviewed three-way comparison including IKEv2 specifically, or any independent academic study comparing protocol choice by use case (streaming, torrenting, gaming) — what exists for use-case comparisons is vendor and affiliate benchmark content, plus independent lab-style testing from outlets like RTINGS, which publishes its own methodology but isn’t peer-reviewed academic work. Most “IKEv2 is fast/slow” or “best protocol for streaming” claims trace back to that kind of content rather than academic benchmarking. We’d rather tell you that plainly than invent a number or present a vendor benchmark as independent research.
What Major VPN Providers Actually Use
Commercial VPNs often rebrand protocols with marketing names, which can obscure what’s actually running underneath:
- NordVPN’s “NordLynx” is a proprietary implementation built directly on WireGuard, adding a double-NAT system specifically to work around WireGuard’s default static-IP-assignment behavior.
- ExpressVPN’s “Lightway” is not WireGuard-based — it’s an independently-built proprietary protocol using the wolfSSL cryptography library, later reimplemented in Rust and open-sourced under GPLv2, with independent security audits performed by Cure53 and Praetorian.
- Mullvad has fully retired OpenVPN support on its desktop apps as of version 2025.14 and now supports WireGuard exclusively.
- Surfshark supports WireGuard, OpenVPN, and IKEv2 across its apps, alongside its own proprietary protocol.
- Proton VPN supports WireGuard (with its own privacy-focused NAT layer) alongside OpenVPN.
See our comparison of VPN providers with real audit histories for more on how these providers stack up beyond just protocol choice.
Which VPN Protocol Should You Use?
- Choose WireGuard if available — it’s the modern default for good reason: a smaller, more auditable codebase, formal academic verification, and generally strong real-world performance. Most current VPN apps default to it or a rebranded version of it already.
- Choose OpenVPN if you need maximum compatibility, or are on a restrictive network where its TCP mode (despite the throughput trade-off) can sometimes get through firewalls that block other protocols.
- Choose IKEv2 if you’re frequently switching networks — commuting between Wi-Fi and cellular, for instance — and want the OS-native client experience on iOS or Windows without installing a separate app.
- Avoid PPTP entirely, and prefer a modern implementation over legacy L2TP/IPsec wherever you have a choice — neither offers any real advantage over WireGuard, OpenVPN, or IKEv2 today.
VPN Protocols: Frequently Asked Questions
What is the best VPN protocol in 2026?
For most users, WireGuard (or a provider’s WireGuard-based implementation, like NordLynx) offers the best combination of a small, formally-verified codebase and strong real-world performance. “Best” still depends on your specific situation — see the recommendations above.
Is WireGuard more secure than OpenVPN?
WireGuard’s fixed, modern cryptographic suite and much smaller codebase are genuine security advantages, and it has undergone more formal academic verification than OpenVPN. That said, OpenVPN’s two-decade production track record and actively-maintained CVE disclosure process are also real security assets — “more secure” isn’t a simple one-line answer.
Why should I avoid PPTP?
PPTP’s underlying MS-CHAPv2 authentication was publicly broken at DEF CON in 2012, with a tool that could recover the encryption key in under 24 hours. It has no legitimate modern use case when WireGuard, OpenVPN, and IKEv2 are all available instead.
Why do VPN providers give protocols different names?
Providers like NordVPN (NordLynx) and ExpressVPN (Lightway) build proprietary implementations on top of or alongside standard protocols, often to add features standard WireGuard doesn’t include, or to differentiate their product. Check whether a “proprietary” protocol has been independently audited, as Lightway has, before trusting it the same way you’d trust a fully open, formally-verified standard.
Does the VPN protocol affect speed more than the server location?
Both matter, and our own research review found this is genuinely context-dependent — the cited 2025 academic study found the “faster” protocol flipped depending on network conditions. Server distance and load are usually the bigger practical factor for most everyday use.
Is L2TP/IPsec safe to use today?
It’s meaningfully weaker than WireGuard, OpenVPN, or a modern IKEv2 implementation, and carries real historical concerns tied to the Snowden-era Bullrun revelations about IPsec key-exchange interception. There’s no practical reason to choose it when better-supported alternatives are available on virtually every platform.
