Research Lab

VPN protocols explained

For most people the answer is WireGuard or a provider's version of it, with OpenVPN as the fallback for strict networks. PPTP is broken and should never be used.

Updated November 13, 2026 7 min read 19 sources

What a VPN protocol is

A VPN protocol is the set of rules your device and the VPN server follow to set up the tunnel. It decides how the two sides prove who they are, how they agree on encryption keys, which ciphers protect your data, and how packets are wrapped and sent. Different protocols make different trade-offs between speed, code size, how easily they pass through firewalls, and how well they cope when your phone switches from Wi-Fi to mobile data.

If you are new to VPNs, start with our primer on what a VPN is.

VPN protocols at a glance
ProtocolStatusMain strengthMain weakness
WireGuardModern, open sourceSmall codebase, modern cryptography, fast reconnectsFixed IP assignment needs provider workarounds for privacy
OpenVPNMature, open sourceCan run over TCP port 443, hard to blockLarge codebase, usually slower than WireGuard
IKEv2/IPsecMature, open standardBuilt into iOS, macOS and Windows; handles network changesUses UDP ports that some networks block
L2TP/IPsecLegacyWidely supported on old devicesDouble wrapping adds overhead; often used with shared keys
SSTPLegacy, MicrosoftRuns over HTTPS port 443Closed, mostly Windows-only
PPTPBrokenNone that matter todayIts MS-CHAPv2 authentication can be cracked

WireGuard

WireGuard was designed by security researcher Jason A. Donenfeld. His whitepaper describes a deliberately small protocol: it has no menu of cipher options, so there is nothing to misconfigure. It uses the Noise protocol framework for its handshake, Curve25519 for key exchange, ChaCha20-Poly1305 for encryption and BLAKE2s for hashing. The paper puts the Linux implementation at around 4,000 lines of code, far smaller than OpenVPN or typical IPsec stacks, which makes it easier to review.

WireGuard was merged into the mainline Linux kernel in version 5.6, released in 2020, and now ships on Windows, macOS, iOS and Android through official apps.

One design choice matters for commercial VPNs. Standard WireGuard gives each peer a fixed internal IP address and keeps the peer's last known real IP in server memory while the connection is in use. For a company that promises not to link users to activity, that is awkward. Providers have built their own wrappers to deal with it, which is where several of the "proprietary" protocols below come from.

Our WireGuard vs OpenVPN guide goes deeper on the choice between the two.

OpenVPN

OpenVPN is an open-source VPN project that has been developed since the early 2000s. It builds its security on TLS, the same family of protocols that protects HTTPS, and usually uses a library such as OpenSSL for the cryptography. It can run over UDP, which is faster, or TCP. Over TCP on port 443 its traffic looks much like ordinary HTTPS traffic to a simple firewall, which is why it is often the fallback on hotel, school or office networks that block other VPNs.

OpenVPN is flexible, which is both a strength and a cost. It supports many cipher and configuration options, and its codebase is far larger than WireGuard's. In practice most providers configure it well, and it has a long record in production. It is generally slower than WireGuard on the same hardware because of its design and because most implementations run outside the operating system kernel.

IKEv2/IPsec

IPsec is a suite of IETF standards that encrypts traffic at the network layer. IKEv2 (Internet Key Exchange version 2, defined in RFC 7296) is the part that authenticates the two sides and sets up the keys. The MOBIKE extension (RFC 4555) lets a connection survive when your device changes networks, for example walking out of Wi-Fi range onto mobile data. That makes IKEv2 a good fit for phones.

IKEv2 is built into iOS, macOS and Windows, so it works without third-party drivers. NIST's guide to IPsec VPNs (SP 800-77 Rev. 1) covers how organizations should configure it. Its main practical weakness is that it uses UDP ports 500 and 4500, which some restrictive networks block.

L2TP/IPsec

L2TP (Layer 2 Tunneling Protocol) creates a tunnel but does not encrypt anything by itself. It is almost always paired with IPsec, as described in RFC 3193. The result works on a very wide range of older devices, but the traffic is wrapped twice, which adds overhead. Many services that offered it used a single pre-shared key for all customers, which weakens the protection. Most consumer VPNs have dropped it in favor of IKEv2 or WireGuard.

SSTP

Secure Socket Tunneling Protocol is Microsoft's protocol that carries VPN traffic inside an HTTPS (TLS) connection on port 443. Microsoft lists it among the connection types Windows supports. It gets through firewalls well, but it is closed and tied mostly to Windows, so few consumer VPNs use it now.

PPTP: why it is broken

Point-to-Point Tunneling Protocol dates from the 1990s and was published as RFC 2637 in 1999. Its problems are well documented. Bruce Schneier and Mudge published a cryptanalysis of Microsoft's PPTP implementation in 1998. In 2012 Microsoft issued Security Advisory 2743314, warning that unencapsulated MS-CHAP v2 authentication, which PPTP relies on, could let an attacker recover credentials, and advising customers to protect it with a stronger tunnel or move to a different protocol.

Apple removed PPTP from iOS 10 and macOS Sierra in 2016, telling network administrators to move to more secure alternatives such as IKEv2. If a VPN app or router still offers PPTP, treat that as a sign the setup is out of date.

Never use PPTP PPTP's weaknesses are public and long known. It offers no meaningful protection against a capable attacker on your network.

Proprietary and provider-specific protocols

Several large providers market protocols under their own names. Most are built on a known open protocol or on standard TLS libraries, with extra layers of the provider's own. What you can check about each depends on how much the company publishes.

Provider protocols
NameProviderWhat the provider says it isOpen source?
NordLynxNordVPNWireGuard plus a "double NAT" system so the server does not need to keep a fixed link between a user and an internal IPNo, NordVPN says the double NAT layer is proprietary
LightwayExpressVPNIts own protocol built on the wolfSSL library, later rewritten in Rust, with post-quantum key exchange (ML-KEM) on by defaultCore code is published on GitHub
HydraHotspot ShieldIts "proprietary protocol", offered alongside IKEv2 and WireGuardNo
StealthProton VPNAn obfuscation protocol announced in October 2022 that uses obfuscated TLS tunneling over TCP to get past VPN blockingProton's announcement does not say

NordLynx. NordVPN describes it as WireGuard with a custom double NAT layer: one interface gives every user the same local address, and a second assigns a unique address per session. NordVPN says this avoids storing user identities on servers. The company also says the double NAT part is proprietary, so outside researchers can't fully review it. NordLynx works only in NordVPN's apps. See our NordVPN review.

Lightway. ExpressVPN says Lightway uses the wolfSSL cryptography library, that the core was rewritten from C into Rust, and that it includes post-quantum protection by default using ML-KEM, a NIST-selected standard. The company lists audits by Cure53 in 2021 and 2022, and by Cure53 and Praetorian in 2024 after the rewrite. Its code is on GitHub. See our ExpressVPN review.

Hydra. Hotspot Shield's support pages call Hydra its proprietary protocol and recommend it as the default. The company has published little technical detail, and outside descriptions of how it works disagree, so there is not much an outsider can verify. See our Hotspot Shield review.

Stealth. Proton VPN announced Stealth in October 2022 for use in places that block VPNs. Proton says it uses obfuscated TLS tunneling over TCP, so it looks more like ordinary web traffic, and that it is available on all plans, including the free one. See our Proton VPN review.

How to read "proprietary" A provider's own protocol isn't automatically worse. The question is whether you can check it: published code, a published design, and named outside audits. Where those are missing, you are relying on the company's word.

Which protocol should you use?

  • Default: WireGuard, or the provider's WireGuard-based option. It is modern, small and fast to reconnect.
  • On a network that blocks VPNs: OpenVPN over TCP port 443, or a provider's obfuscation mode such as Proton's Stealth.
  • On a phone that moves between networks: WireGuard or IKEv2 both handle this well.
  • On an old router or device: IKEv2 if available. Use L2TP/IPsec only if nothing better exists, and never PPTP. See VPN on a router.

The protocol is only one part of security. A strong protocol from a provider that keeps logs still exposes you. See no-logs policies explained and run a leak test after you connect.

Questions people ask

What is the most secure VPN protocol?

WireGuard, OpenVPN and IKEv2/IPsec are all considered secure when configured properly. WireGuard's small codebase makes it easier to audit. PPTP is not secure.

Is WireGuard better than OpenVPN?

WireGuard is usually faster and simpler. OpenVPN is better at getting through networks that block VPNs because it can run over TCP port 443. Many people use WireGuard by default and switch to OpenVPN when needed.

Is NordLynx the same as WireGuard?

NordVPN says NordLynx is built on WireGuard with an added double NAT layer of its own. It works only in NordVPN's apps.

Why shouldn't I use PPTP?

Its MS-CHAPv2 authentication has known weaknesses that Microsoft itself warned about in 2012, and Apple removed PPTP from iOS and macOS in 2016.

Does the protocol affect privacy?

Somewhat. It decides how well your traffic is encrypted and what the server has to remember. Whether the provider logs your activity matters more.

Sources

  1. WireGuard: Next Generation Kernel Network Tunnel (whitepaper) (wireguard.com) · read November 13, 2026
  2. WireGuard project site (wireguard.com) · read November 13, 2026
  3. Linux 5.6 release notes (Kernel Newbies) (kernelnewbies.org) · read November 13, 2026
  4. OpenVPN Community (openvpn.net) · read November 13, 2026
  5. RFC 7296, Internet Key Exchange Protocol Version 2 (IKEv2) (rfc-editor.org) · read November 13, 2026
  6. RFC 4555, IKEv2 Mobility and Multihoming Protocol (MOBIKE) (rfc-editor.org) · read November 13, 2026
  7. RFC 3193, Securing L2TP using IPsec (rfc-editor.org) · read November 13, 2026
  8. RFC 2637, Point-to-Point Tunneling Protocol (PPTP) (rfc-editor.org) · read November 13, 2026
  9. NIST SP 800-77 Rev. 1, Guide to IPsec VPNs (csrc.nist.gov) · read November 13, 2026
  10. Microsoft Security Advisory 2743314: Unencapsulated MS-CHAP v2 Authentication (learn.microsoft.com) · read November 13, 2026
  11. Schneier and Mudge, Analysis of Microsoft PPTP (1998), Schneier on Security (schneier.com) · read November 13, 2026
  12. Apple: Prepare for removal of PPTP VPN before you upgrade to iOS 10 and macOS Sierra (support.apple.com) · read November 13, 2026
  13. Microsoft Learn: VPN connection types (learn.microsoft.com) · read November 13, 2026
  14. NordVPN: NordLynx protocol (nordvpn.com) · read November 13, 2026
  15. NordVPN: VPN protocols explained (nordvpn.com) · read November 13, 2026
  16. ExpressVPN: Lightway (expressvpn.com) · read November 13, 2026
  17. Lightway source code (GitHub) (github.com) · read November 13, 2026
  18. Hotspot Shield: Which VPN protocol should I choose? (support.hotspotshield.com) · read November 13, 2026
  19. Proton VPN: Stealth protocol announcement (protonvpn.com) · read November 13, 2026