VPN Protocols Compared: WireGuard vs OpenVPN vs IKEv2 vs L2TP

11 min readVPN Technology

The protocol your VPN uses determines how fast it is, how much battery it drains on your phone, and how well it survives flaky networks. Most VPN apps quietly pick a protocol for you — but the difference between, say, WireGuard and L2TP/IPsec can be 5× in throughput. Here's the working comparison.

The four protocols that actually matter in 2026

You'll find a dozen VPN protocols mentioned in marketing copy, but four cover roughly 99% of real-world traffic: WireGuard, OpenVPN, IKEv2/IPsec, and L2TP/IPsec. Older protocols like PPTP and SSTP exist but are either insecure (PPTP) or Windows-only legacy (SSTP). If your VPN offers them, the modern protocols are almost always a better choice.

Most commercial VPNs now default to WireGuard. The IETF-standardized version finally shipped in 2020, the kernel modules are merged into Linux mainline, and every major operating system has good client support. OpenVPN is still the safest fallback for restrictive networks because it can pretend to be regular HTTPS traffic on TCP/443.

WireGuard

Codebase size: about 4,000 lines of code, compared with OpenVPN's ~70,000. Less code means fewer places for security bugs to hide, and the small surface area has been independently audited multiple times.

Crypto: ChaCha20 for symmetric encryption, Curve25519 for key exchange, BLAKE2s for hashing, Poly1305 for authentication. Modern, fast on mobile CPUs, no negotiation phase to fingerprint.

Trade-offs: Connection-less by design — it ties a peer to an IP. That makes failover after a network switch (Wi-Fi to mobile) seamless, but it also means the server sees every connecting IP, which providers handle by rotating internal IPs.

Pick it when: You want the fastest possible connection and aren't behind a deep-packet-inspecting firewall.

OpenVPN

OpenVPN is the workhorse of the last 20 years. It runs over either UDP (faster) or TCP (more reliable on bad links, and can disguise itself as HTTPS on port 443 to slip past firewalls).

Crypto: AES-256-GCM is standard. The handshake uses TLS, so it benefits from the entire TLS ecosystem — known certificate flows, large body of audit work, mature tooling.

Trade-offs: Slower than WireGuard, especially on low-power CPUs. Reconnects after network changes are noticeably worse. The codebase is large and the config surface is wide, which historically led to misconfiguration risks.

Pick it when: You're in a region that actively blocks VPN traffic. OpenVPN over TCP/443 with TLS-Auth is the gold standard for getting through.

IKEv2/IPsec

Built by Microsoft and Cisco, IKEv2 is the protocol most operating systems ship native support for. iOS, macOS, and Windows all speak IKEv2 without any third-party client.

Strength: Best-in-class mobile experience. The MOBIKE extension means an IKEv2 tunnel can move with you from Wi-Fi to mobile to a different Wi-Fi without renegotiating. Battery drain is very low — kernel-level implementations are extremely efficient.

Trade-offs: Uses fixed UDP ports (500 and 4500), which are blocked on some restrictive networks. The protocol is also closed-spec from a single vendor lineage, which makes some privacy purists uncomfortable.

Pick it when: You're primarily on mobile and want zero-configuration always-on VPN with great battery life.

L2TP/IPsec

The legacy choice. L2TP itself provides no encryption — it's always paired with IPsec for that. The double encapsulation makes it slower than any other option here, and Edward Snowden's leaked documents suggested NSA had at least partially weakened pre-shared-key IPsec implementations.

Pick it when: You truly have no other option (locked-down corporate network with a router that only speaks L2TP). For consumer privacy, choose anything else.

Performance ballpark

On a typical 1 Gbps wired connection with a server 50 ms away, expect roughly:

  • WireGuard: 800–950 Mbps
  • IKEv2/IPsec: 600–800 Mbps
  • OpenVPN UDP: 250–400 Mbps
  • OpenVPN TCP: 100–250 Mbps
  • L2TP/IPsec: 80–200 Mbps

You can test your own connection through any of these protocols using our speed test — run it once without the VPN, then once for each protocol your provider supports, and compare.

How to choose

  • Default for most people: WireGuard. Fast, secure, modern, well-audited.
  • Restrictive networks: OpenVPN over TCP/443, with TLS obfuscation if your provider offers it.
  • Always-on mobile VPN: IKEv2/IPsec.
  • Streaming-heavy: WireGuard for max throughput.
  • Anywhere PPTP or L2TP-only is the only option: Use a different VPN.

Frequently asked questions

Is WireGuard really more secure than OpenVPN?
Both are secure when configured correctly. WireGuard's much smaller codebase makes auditing easier and reduces the attack surface, but OpenVPN benefits from 20+ years of scrutiny and a mature TLS ecosystem. There is no known cryptographic break in either protocol's modern configurations.
Why does my VPN keep switching protocols?
Most apps probe protocols on connect and fall back to whichever succeeds first. If you're behind a firewall that blocks UDP, WireGuard fails and the client moves to OpenVPN TCP. Forcing a specific protocol in the client settings stops the probing and usually speeds up the handshake.
Does protocol choice affect whether the VPN can be blocked?
Yes. Deep-packet inspection can fingerprint WireGuard and IKEv2 easily because their handshakes have distinct shapes. OpenVPN over TCP/443 with TLS obfuscation looks nearly identical to HTTPS to an inspector, so it's the most resistant to blocking. China, Iran, and Russia all block detected VPN protocols and require obfuscation for reliable access.
Will WireGuard kill my mobile battery?
No — quite the opposite. WireGuard's small codebase and lack of a constant keepalive loop generally means lower battery use than OpenVPN. IKEv2 with a kernel implementation is similarly efficient. The historical worry about WireGuard 'always being connected' draining battery was based on early implementations and doesn't reflect modern clients.
VPN Protocols Compared: WireGuard, OpenVPN, IKEv2, L2TP | VPN Master Pro