Skip to content

VPN Protocols Explained: Which One Should You Use?

Published Updated

Miklos Zoltan

By Miklos Zoltan

Founder - PrivacyAffairs

Justin Oyaro

Fact-Checked this

Use the protocol your VPN app picks by itself. In most apps today that’s WireGuard, a protocol built on it, or ExpressVPN’s Lightway.

Change it only for a reason. A hotel or office network that blocks your VPN calls for the app’s anti-blocking mode, and a device without the app needs IKEv2 or a configuration file. PPTP and L2TP still sit in the VPN settings of Windows and Apple devices. You can leave them there.

Check first: your VPN app’s protocol setting, usually under Settings > Connection or Protocol. If it says Automatic, it already follows the first card.
Everyday use on your phone or computer
WireGuardNordLynxLightway
Leave the app on Automatic or pick its WireGuard-based option. It’s the default in most apps, and it’s where providers add post-quantum protection first.
A network blocks your VPN
hotel, school, officecensored countries
Switch on the app’s anti-blocking mode (Stealth, NordWhisper, obfuscated servers). Without one, OpenVPN over TCP port 443 looks most like ordinary web traffic.
No VPN app on the device
IKEv2/IPsec
IKEv2 is built into Windows, macOS, iOS and Android, and it keeps the connection when you move between Wi-Fi and mobile data.
A router or another device the app doesn’t run on
WireGuard configOpenVPN config
Use the configuration files your provider offers. Not every provider has both: ExpressVPN gives OpenVPN files only, Mullvad WireGuard only.
PPTP or L2TP/IPsec
avoid
PPTP’s login can be cracked, so don’t use it. L2TP/IPsec is outdated and easy to block: only for old equipment that offers nothing else.
Sources: VPN providers’ protocol and help pages; WireGuard, OpenVPN, Microsoft, Apple and Android documentation. Checked 13 November 2026.

Updated November 2026: rewritten. The 2024 version put OpenVPN first; most VPN apps now default to WireGuard-based protocols, and Mullvad and Proton VPN have dropped OpenVPN from their main apps. Every protocol and app detail was rechecked on its maker’s site, and the page now also covers our former PPTP and WireGuard articles.

What a VPN Protocol Does

A VPN protocol is the set of rules your device and the VPN server follow to build the encrypted tunnel between them.

It starts with a handshake, in which the two sides prove who they are and agree on keys. Those keys then encrypt every packet; our VPN encryption guide covers the ciphers. The protocol also sets the transport. UDP is quicker, while TCP checks that every packet arrives and gets through more firewalls (TCP vs UDP explains the trade-off).

So the protocol decides how fast your tunnel is, how easily a network can spot and block it, and whether it survives your phone hopping from Wi-Fi to mobile data. It doesn’t decide what your provider logs. That depends on the company and its audits, whichever protocol you pick.

Who invented the VPN, and when each protocol arrived

The name you’ll most often read is Gurdeep Singh Pall, a Microsoft engineer. In 1996 Microsoft and a group of network-equipment makers built PPTP, which let staff dial a local internet provider and reach the office network through the internet, and Pall is one of the authors of its specification (RFC 2637, published 1999). So the VPN was a team effort, and PPTP was simply the first one in wide use. A research design from 1993, swIPe, had already wrapped encrypted IP packets inside ordinary ones, but it never spread.

The protocols this page compares arrived in this order:

  • 1995–1998, IPsec: the IETF’s encryption standard for IP traffic, first drafted in 1995 and settled in RFC 2401 in 1998.
  • 1996, PPTP: Microsoft’s tunnel, built into Windows.
  • 1999, L2TP: built from PPTP and Cisco’s L2F (RFC 2661); it has no encryption of its own, so it runs inside IPsec.
  • 2001, OpenVPN: James Yonan’s open-source program, built on TLS instead of IPsec.
  • 2005, IKEv2: one key-exchange standard for IPsec (RFC 4306) in place of four separate documents.
  • 2020, WireGuard: Jason Donenfeld’s protocol reached version 1.0 inside Linux 5.6 in March 2020 and is now the default in most VPN apps.
  • From 2024, post-quantum key exchange: NIST published ML-KEM in August 2024, and VPN apps began adding it (who has it).

At first VPNs were office tools. Services that sell a VPN to hide your IP address and get around geo-blocks grew out of them from the early 2000s, as David Crawshaw’s history of the VPN in ACM Queue tells it. PPTP, where it all started, now opens our list of protocols to avoid.

WireGuard, OpenVPN, IKEv2 and Lightway Compared

Four protocols cover nearly everything you’ll find in a VPN app’s settings. All four are secure when set up properly. Where they differ is speed, age, and how well they get through networks that try to block them.

Four protocols side by side
WireGuard
OpenVPN
IKEv2/​IPsec
Lightway
Where you’ll find it
Default or main option in most VPN apps; NordLynx is built on it
Still in most apps; Mullvad dropped it, Proton kept it on Linux only
Built into Windows, Apple devices and Android; dropped from many VPN apps
ExpressVPN only (its default)
Runs over
UDP only, any port
UDP 1194 by default, or TCP (often 443)
UDP 500 and 4500
UDP or TCP
Open code and checks
Open source; protocol formally verified
Open source; audited in 2017
Open standard (RFC 7296)
Open source since 2021; audited 2021 and 2024
Post-quantum
Not built in; providers add it on top
Not offered by the VPNs we checked
Optional ML-KEM on Apple devices from version 26
On by default (ML-KEM)
Gets past VPN blocking
Poorly: easy to spot
Well on TCP 443
Poorly: easy to block
Automatic in ExpressVPN apps
Best for
Everyday use
Blocked networks, routers
Devices without an app, network switching
ExpressVPN users
Sources: wireguard.com, OpenVPN documentation and audits, RFC 7296, Apple Platform Security, ExpressVPN; provider help pages. Checked 13 November 2026.

WireGuard

WireGuard is the newcomer that took over. It entered the Linux kernel with version 5.6 in March 2020, and most providers now use it as their default, often under a name of their own. Its cryptography is fixed rather than negotiated (Curve25519, ChaCha20-Poly1305, BLAKE2s), and its handshake has been formally verified, meaning it was checked with mathematical proof tools, not only by testers.

It’s usually faster than OpenVPN. By how much depends on the hardware and the network: a 2025 study in the journal Computers called the results “highly context dependent”.

The design has limits, and WireGuard’s own documentation lists them. It runs over UDP only and makes no attempt to look like anything else; obfuscation “should happen at a layer above WireGuard”. It isn’t post-quantum by default either, so providers run an extra key exchange on top. And the server sends its replies to the last IP address it heard from you, which is why commercial VPNs add their own address handling, such as NordVPN’s double NAT.

OpenVPN

OpenVPN is the veteran: open source, built on TLS, and able to run over UDP or TCP. That TCP option is what keeps it relevant. On port 443 its traffic resembles ordinary HTTPS, which OpenVPN’s documentation says is “often allowed through firewalls”. Two audits looked at it in 2017. Quarkslab’s found one serious bug, a way to crash a server before login, fixed in the next release; Cryptography Engineering ran the other.

It’s slower than WireGuard in most setups. OpenVPN 2.7, released in February 2026, moves the encryption into the operating system’s kernel on Linux and Windows, which narrows the gap; whether your VPN app uses it is up to the provider. Some providers have walked away instead: Mullvad removed OpenVPN on 15 January 2026, and Proton VPN keeps it only in its Linux app. For routers, OpenVPN and WireGuard files are the usual route (see our VPN router guide), and our WireGuard vs OpenVPN comparison goes deeper.

IKEv2/IPsec

IKEv2 is the protocol already on your devices. Windows, macOS, iOS and Android include it in their own VPN settings, so you can connect without installing anything. Its MOBIKE extension lets a connection survive a change of IP address, which is why it copes well when your phone switches between Wi-Fi and mobile data.

Its weak spot is visibility. It runs on UDP ports 500 and 4500, and a firewall can block both with one rule. VPN apps have been dropping it: NordVPN removed it from its apps, ExpressVPN keeps it on iOS only, Surfshark left it out of its Windows app, PIA dropped it on iOS in 2026, and Proton VPN plans to switch it off on Mac in early 2027. Apple, meanwhile, gave it an upgrade: from iOS 26 and macOS 26 it can add an ML-KEM key exchange for post-quantum protection. Our IKEv2 guide and IPsec explainer have the details.

Lightway

Lightway is ExpressVPN’s protocol and the default in its apps. Being ExpressVPN’s own doesn’t make it secret: the company published the code in 2021, rewrote it in Rust in 2025, and had it audited by Cure53 and Praetorian. Post-quantum protection is on by default, using ML-KEM since early 2025. You can’t use it with any other provider.

Protocols to Avoid: PPTP, L2TP/IPsec and SSTP

These three still turn up in operating systems, routers and company networks. None of them is a good choice for privacy.

PPTP

PPTP’s usual login method, MS-CHAPv2, was broken in public in 2012. At DEF CON 20, researchers released tools that recovered the key every time, and Microsoft’s own advisory confirmed that PPTP with MS-CHAPv2 is vulnerable. Apple removed PPTP from iOS 10 and macOS Sierra in 2016, and phones that launched with Android 12 or later don’t offer it in their VPN settings. Windows still lets you create a PPTP connection. Don’t.

L2TP/IPsec

L2TP adds no encryption of its own; IPsec does that part, so the pair isn’t broken the way PPTP is. It’s old, wraps your data twice, and is easy to block on UDP ports 500, 4500 and 1701. In October 2024 Microsoft announced that future Windows Server versions will stop accepting PPTP and L2TP connections and pointed people to SSTP and IKEv2. Windows itself can still make outgoing connections with both. Android phones launched with version 12 or later don’t offer L2TP, and none of the nine VPN apps in the table below includes it.

SSTP

SSTP is Microsoft’s: the old PPP protocol carried over HTTPS on TCP port 443, built into Windows since Vista SP1 and rarely found anywhere else. Port 443 helps it through firewalls, its one real advantage.

It pays for that on bad connections. Everything rides inside one TCP connection, so when a packet goes missing, the tunnel and the traffic inside it both try to resend it, and on patchy Wi-Fi or mobile data the two slow each other down. WireGuard, and OpenVPN over UDP, don’t have that problem.

Microsoft publishes the specification, but the Windows code is closed, and even Microsoft’s cloud is moving away from it: Azure VPN Gateway stops SSTP connections on 31 March 2027.

If “Secure Socket Tunneling Protocol Service” (SstpSvc) shows up in Task Manager or Services, that’s Windows itself, not something you installed. It’s set to start manually, when something on the PC asks for it, and its description says that disabling it stops SSTP connections. Leave it on Manual unless you’re sure nothing you use needs SSTP; a work VPN might.

Outside Windows you need extra software: the open-source sstp-client on Linux (with a NetworkManager plugin), paid apps such as SSTP Connect on Mac and iPhone. MikroTik routers have it built in. Few consumer VPNs still offer it. Hide.me does, and added it to its Apple apps in March 2026. PureVPN removed it from most of its locations, though its SSTP sales page still advertises it. None of the nine apps in the table below offers it.

If your company VPN still runs on SSTP or L2TP, that’s a question for its IT team, not a reason to use either for privacy.

Your VPN's Own Protocol: What's Inside

Plenty of providers give a protocol a name of their own. Some are new code; others are a familiar protocol with extras.

NordLynx is WireGuard plus NordVPN’s double NAT system. Every user gets the same internal address, and a second layer gives each session a separate one, so your WireGuard address isn’t tied to you. NordWhisper, NordVPN’s newer protocol, wraps traffic so it looks like ordinary web traffic, and since July 2026 NordVPN has been moving its obfuscated servers from OpenVPN to it.

Dausos is Surfshark’s, launched in April 2026. Surfshark says it was built from scratch and audited by Cure53. For now it’s a beta for macOS that you pick by hand. Stealth is Proton VPN’s anti-blocking protocol, TLS tunnelling over TCP, and it’s on the free plan too. Older names are still around: Hotspot Shield recommends its proprietary Hydra, and VyprVPN’s Chameleon scrambles OpenVPN’s packet data.

For any of them, ask two questions. Is the code public, and has an outside firm audited it? Lightway passes both. Elsewhere you often have the provider’s word and little else, and a protocol nobody outside the company can read asks you to trust that company twice.

What nine VPN apps offer
VPN
Protocols in the app
Own protocol
Post-quantum
For blocked networks
Lightway, WireGuard, OpenVPN; IKEv2 on iOS only
Lightway (open source)
On by default (Lightway, WireGuard)
Automatic obfuscation, no setting
NordLynx, OpenVPN, NordWhisper
NordLynx (WireGuard + double NAT), NordWhisper
Switch you turn on (NordLynx only)
NordWhisper; obfuscated servers moving to it
WireGuard, OpenVPN, IKEv2 (not on Windows); Dausos on Mac
Dausos (beta, Mac)
On by default (WireGuard in the apps, Dausos)
Obfuscated OpenVPN, NoBorders
Smart, Stealth, WireGuard; IKEv2 on Mac; OpenVPN on Linux only
Stealth
Not yet
Stealth (free plan too)
Mullvad
WireGuard only (OpenVPN removed 15 Jan 2026)
—
On by default
Shadowsocks, QUIC, UDP-over-TCP, LWO
WireGuard, OpenVPN
—
None announced
Shadowsocks (desktop), AmneziaWG (mobile)
WireGuard; OpenVPN (Windows, Android, Linux); IKEv2 (Windows, Mac, iOS)
—
None announced
No named mode
WireGuard, OpenVPN, IKEv2
—
None announced
Scramble (OpenVPN)
Windscribe
WireGuard, IKEv2, OpenVPN, Stealth, WStunnel, AmneziaWG
—
WireGuard (after you log in again once)
Stealth, WStunnel, AmneziaWG
Apps differ by platform and change often. “None announced” means nothing on the provider’s site or help centre on the check date.
Sources: each provider’s protocol and help pages, release notes and announcements. Checked 13 November 2026.

Post-Quantum Protection: Who Has It

Quantum computers that can break today’s key exchanges don’t exist yet. The worry is what US agencies call “harvest now, decrypt later”: record encrypted traffic today, read it once such machines arrive (CISA, NSA and NIST fact sheet). NIST published the standard defence, ML-KEM, as FIPS 203 in August 2024.

ExpressVPN has it on by default for Lightway and for its WireGuard. Mullvad turns it on in all its apps, combining Classic McEliece with ML-KEM (Mullvad’s explanation). Surfshark uses it by default with WireGuard in its apps, though not in manual configuration files. Windscribe adds it to WireGuard after you log out and back in once.

NordVPN offers it for NordLynx only, as a switch you turn on yourself under Settings > Connection. Proton VPN, PIA, CyberGhost and IPVanish hadn’t shipped it when we checked on 13 November 2026; Proton says it’s laying the groundwork.

Does it matter? For browsing and streaming, not much. If what you send through the VPN must stay secret for ten years or more, pick a provider that has it on, or turn it on yourself.

Protocols for Networks That Block VPNs

Plain WireGuard is easy to recognise, and schools, offices, hotels and countries such as China and Russia block it. Three kinds of fix exist:

  • Your app’s anti-blocking mode: Proton VPN’s Stealth, NordWhisper, Surfshark’s NoBorders and obfuscated OpenVPN, IPVanish’s Scramble, Mullvad’s Shadowsocks, QUIC and LWO options, AmneziaWG in Windscribe and in PIA’s mobile apps. ExpressVPN switches obfuscation on by itself.
  • OpenVPN over TCP port 443, where your provider still offers it.
  • Tools that aren’t VPN protocols at all: Shadowsocks, Xray with VLESS and REALITY, and Tor bridges (obfs4, WebTunnel).

Our VPN obfuscation guide explains how each works and which providers offer what. Where VPNs are restricted, using them can break local law; Are VPNs legal? lists the countries.

SoftEther and VPN Gate

SoftEther VPN is free, open-source VPN software from the University of Tsukuba in Japan, under the Apache 2.0 licence since 2019. Its own protocol wraps the tunnel in TLS on TCP port 443 by default (992 and 5555 too), so on the wire it looks much like ordinary HTTPS. One SoftEther server also speaks OpenVPN, L2TP/IPsec and SSTP, so phones and laptops can connect with the VPN client they already have, which is why companies and home users run it as their own server. The current stable release, 4.44, came out in April 2025 (SoftEther specification).

Few commercial VPNs offer it. Hide.me does, in its Windows, Mac and Linux apps; none of the nine apps in the table above does.

Most people meet SoftEther through VPN Gate, the university’s free network of volunteer servers, started in 2013 to get people past government firewalls. Many of those servers are in Japan: 46 of the 99 in the list VPN Gate served on 18 November 2026. It gets you through a block. It doesn’t keep you private. VPN Gate keeps connection logs for three months or more and gives them to police, prosecutors, lawyers and courts authorised by law, and each volunteer server keeps packet logs with the TCP/IP headers of every connection for at least two weeks (VPN Gate’s abuse policy). So the stranger running your server can see which addresses you connect to.

When to Change Your Protocol

Automatic is the right setting until something goes wrong. The switch is usually under Settings, then Connection or Protocol.

  • It won’t connect on one network but works elsewhere: that network is probably blocking VPNs. Try the anti-blocking mode, then a TCP option.
  • It’s slow: on OpenVPN, switch to WireGuard, or to UDP if you’re on TCP. On WireGuard or Lightway, a closer or less busy server usually helps more than another protocol.
  • It drops when you move between Wi-Fi and mobile data: WireGuard and IKEv2 are both built to follow a change of address.
  • You’re setting up a router or a device without the app: use your provider’s configuration files. NordVPN, Surfshark, Proton VPN, IPVanish and Windscribe offer WireGuard and OpenVPN files; ExpressVPN, PIA and CyberGhost OpenVPN only; Mullvad WireGuard only.

Frequently Asked Questions

Some people found answers to these questions helpful

What is the most secure VPN protocol?

WireGuard and Lightway with post-quantum protection switched on are the strongest choices in VPN apps today. OpenVPN and IKEv2 are still secure when configured properly. PPTP isn't secure at all, and L2TP/IPsec is outdated.


What is the fastest VPN protocol?

WireGuard and protocols built on it, such as NordLynx, usually beat OpenVPN, which is why most apps now default to them. Independent studies show the margin depends on the hardware and the network, and the server's distance and load affect your speed as much as the protocol.


Should I use TCP or UDP?

UDP, unless it won't connect. UDP is faster, and it's what WireGuard and IKEv2 use. TCP checks that every packet arrives, which slows things down but gets through more firewalls, especially on port 443. OpenVPN over TCP vs UDP has the details.


Does WireGuard store my IP address?

The server remembers the last IP address it got valid data from, since that's where it sends replies. How long it stays in memory depends on the provider's setup. Every VPN server sees your IP while you're connected anyway, so judge the provider's no-logs policy and audits rather than the protocol.


Which ports do VPN protocols use?

WireGuard uses UDP on whatever port the provider picks (51820 is the usual example). OpenVPN uses UDP 1194 by default, or TCP, often on 443. IKEv2 uses UDP 500 and 4500; L2TP/IPsec adds UDP 1701; PPTP uses TCP 1723 plus GRE; SSTP uses TCP 443. A network that wants to block VPNs starts with these.


Can I set up a VPN without an app?

Yes, with the VPN client built into your system and your provider's server details. Windows has IKEv2, SSTP, L2TP and PPTP but no WireGuard. macOS and iOS have IKEv2, IPsec and L2TP. Android phones that launched with version 12 or later offer only IKEv2/IPsec. ChromeOS adds OpenVPN and, on some Chromebooks, WireGuard, and Linux's NetworkManager has handled WireGuard since 2019. IKEv2 is the one option built into Windows, Apple devices, Android and ChromeOS alike.