VPN Protocols: Types, Differences and How to Choose
On this page
Summary: There is no single best VPN protocol. For ordinary use, the realistic choice is among WireGuard, OpenVPN, and IKEv2/IPsec, which are all current and well studied; PPTP should be avoided, and L2TP/IPsec is a legacy fallback at most. Within the current group, your constraints decide: WireGuard is a sensible starting point when your VPN app offers it, OpenVPN over TCP can help where UDP is unavailable but TCP VPN connections are permitted, and IKEv2/IPsec fits when you want your device's built-in VPN client or switch often between Wi-Fi and mobile data. Because providers implement the same protocol differently, the protocol name narrows the choice without settling speed or privacy on its own.
VPN Advisors is an independent, affiliate-supported website explaining how VPNs work, where their protections end, and how to evaluate VPN services. This guide compares protocol designs, connection behavior, and the trade-offs that matter when choosing one. For the broader picture, see our VPN Fundamentals guide.
What a VPN protocol decides, and what it doesn’t
A VPN protocol is the set of rules your device and the VPN server use to authenticate each other, agree on encryption keys, wrap your traffic, and carry it across the internet. That last part matters more than it sounds: the protocol defines which transports and ports it supports, and the configuration determines which available option is used, which in turn affects whether a hotel, office, or mobile network lets the connection through.
Plenty of things a protocol does not decide. Server distance and load, the provider's server hardware, its logging practices, and extra features such as a kill switch or DNS leak protection all sit outside the protocol. The same protocol can also behave differently from one provider to the next, because providers choose their own implementations, settings, and additions. WireGuard is the clearest example: its design associates each peer's public key with permitted tunnel addresses, leaving providers to decide how to assign and manage those addresses. Proton VPN, for instance, documents a double network address translation setup for this purpose. That is a claim about one provider's implementation, not a property of WireGuard itself, and it is the kind of difference a protocol name alone won't reveal.
The main VPN protocols at a glance
The table compares the protocols you are likely to meet in consumer VPN apps and device settings. "Built-in client" means the operating system can connect without a separate VPN app.
| Protocol | Transport | Built-in OS client | Practical strength | Main caveat |
|---|---|---|---|---|
| WireGuard | UDP only | Not in Windows, Apple, or Android built-in clients; needs an app | Fixed modern cryptography, formal analyses, and authenticated roaming between networks | No TCP mode or built-in obfuscation; privacy handling depends on the provider |
| OpenVPN | UDP or TCP | No; needs an app | UDP and TCP options offer flexibility on networks that permit VPN connections | Larger, configurable codebase; TCP mode can degrade on lossy links; speed varies by implementation |
| IKEv2/IPsec | Usually UDP 500; UDP 4500 with NAT; direct ESP or optional TCP | Windows and Apple; Android 11+ platform support (device options vary) | IETF standard; MOBIKE supports network changes when enabled at both ends; native clients | Standard UDP ports can be blocked; TCP fallback is not universal |
| L2TP/IPsec | UDP (via IPsec) | Windows and selected Apple systems; absent from standard Android 12+ built-in options | Broad support on older equipment | L2TP itself has no encryption; platform vendors are phasing it out |
| SSTP | TCP port 443 (HTTPS) | Windows | Uses HTTPS transport on TCP 443 and supports some web proxies | Windows-centric; TCP-over-TCP can cause slowdowns |
| PPTP | TCP 1723 for control; GRE (IP protocol 47) for data | Windows client only; removed by Apple and Android | Works with very old systems | Known authentication weaknesses; avoid |
| Provider-specific protocols | Varies | Usually a provider app | May add features such as obfuscation or custom privacy handling | Performance and security claims come from the provider; check for open code and independent audits |
How the protocols differ in ways that matter
Security properties depend on design and configuration
The three current protocols reach their security in different ways, which is why "more secure" claims rarely hold without qualification.
WireGuard uses a fixed cryptographic suite rather than a menu of options, and its technical paper described a Linux implementation of under 4,000 lines of code at the time, a size intended to make review more manageable. The protocol has been formally verified in both symbolic and computational models, including proofs of properties such as forward secrecy and mutual authentication. The trade-off is that a fixed design cannot be reconfigured: the project's own known-limitations page notes, for example, that WireGuard does not provide post-quantum secrecy by itself.
For a closer look at the protocol’s security design and consumer trade-offs, read Is WireGuard Secure? How It Works and Its Trade-Offs.
OpenVPN builds its control channel on TLS and lets whoever runs the server choose its ciphers and authentication methods. That flexibility helps compatibility, but it also means an OpenVPN connection is only as strong as the provider's chosen configuration. "Uses OpenVPN" tells you less about security than the cipher, authentication, and TLS settings behind it.
For OpenVPN’s configuration choices and practical strengths and limits, see Is OpenVPN Good? How It Works and Its Trade-Offs.
IKEv2/IPsec is an IETF standard (RFC 7296) with mature implementations in every major operating system. For organizational remote access, the NSA and CISA joint guidance favors standards-based IKE/IPsec over proprietary or non-standard SSL/TLS VPN designs, on the grounds that custom code adds risk. That advice was written for enterprise VPN gateways rather than consumer apps, so it supports a general preference for well-scrutinized designs without ranking consumer protocols.
For a closer explanation of its behavior on consumer devices and changing networks, see IKEv2/IPsec: How It Works and When It Fits.
Connection behavior: UDP, TCP, and blocked networks
This is where protocols differ most in everyday use. Using UDP avoids stacking one reliable-delivery mechanism on another, which can improve performance on unreliable networks. OpenVPN's developers explain the problem, known as TCP meltdown: when a TCP tunnel carries TCP traffic, both layers retransmit lost packets, and performance can collapse on an unreliable link. The same mechanism applies in principle to any TCP-based tunnel, including SSTP.
The flip side is reachability. Some networks allow little more than web traffic. OpenVPN supports TCP for that reason, and providers can offer it on TCP port 443, which HTTPS also uses. SSTP likewise carries traffic inside HTTPS over TCP port 443, although network policies and inspection can still block it. WireGuard takes the opposite position: it runs over UDP only, and its maintainers state that obfuscation and TCP transport belong in a separate layer above the protocol. IKEv2/IPsec normally starts on UDP port 500 and may use UDP port 4500 for NAT traversal. Without NAT, IPsec can carry ESP directly, and optional TCP encapsulation exists when both endpoints support it.
If you are deciding specifically between these two designs, our WireGuard vs OpenVPN comparison examines their practical differences.
Running on port 443 is not the same as being undetectable. Port choice affects compatibility with simple port-based rules; networks that inspect traffic more closely can still identify VPN protocols. Some VPN apps provide separate traffic-obfuscation features, but those are provider-specific additions, not inherent properties of the standard protocols.
Mobility: switching between Wi-Fi and mobile data
If your phone moves between networks, protocol design affects whether the tunnel survives. IKEv2 has a standard extension for this, MOBIKE (RFC 4555), which can update a tunnel’s outer IP addresses without starting a new connection when both ends support it; Apple lists MOBIKE among the features of its built-in IKEv2 client. WireGuard handles the same problem differently: its endpoints roam, meaning each side simply sends to the most recent address from which it received authenticated traffic.
For a direct comparison of connection behavior and compatibility, read IKEv2 vs OpenVPN: What’s the Difference?.
Performance: what can and cannot be generalized
Speed comparisons between protocols are the least portable claims in this area. Results depend on the device's processor, the operating system, whether the protocol runs in the kernel or in a user-space app, server load, distance, and the network path, and most published tests fix only some of those.
Two examples show how much implementation matters. WireGuard's own performance page notes that its benchmarks are old, that both WireGuard and IPsec have become faster since, and that replacement data is in progress. OpenVPN, often described as slow, now has Data Channel Offload, which moves packet encryption into the operating-system kernel; OpenVPN's documentation says both server and client need it for the full benefit, and FreeBSD's early testing of its implementation reported throughput rising from about 660 Mbit/s to about 2 Gbit/s on the test system. A protocol name therefore does not tell you which version, implementation, or acceleration you are getting.
The practical reading: WireGuard's lean design gives it a structural efficiency advantage, and it often tests well in published benchmarks, but the best comparison for your circumstances comes from repeated tests on your own device and connection, using comparable servers, locations, and test conditions for each protocol your provider offers.
For a closer look at measured throughput, latency, and benchmark conditions, see VPN Protocol Speed: How Protocols Affect Speed and Ping.
Platform support
Built-in support affects whether you need to install another VPN app, and it is changing. Apple documents IKEv2/IPsec across its platforms and L2TP/IPsec on iOS, iPadOS, macOS, and visionOS, but not tvOS or watchOS. Apple removed PPTP in iOS 10 and macOS Sierra. Android 11 introduced a new IKEv2 library as the platform's default IKEv2 implementation, although visible VPN settings can vary by device. From Android 12, standard Android's built-in PPTP and L2TP options are absent. Windows' built-in client still lists IKEv2, SSTP, L2TP, and PPTP as tunnel types, though Microsoft has deprecated PPTP and L2TP for its server-side VPN role (more on that below). WireGuard and OpenVPN are not among the built-in options on Windows, Apple platforms, or Android, so on those systems they arrive through a VPN app.
For platform-by-platform support and the difference between built-in and app-based options, see VPN Protocol Compatibility: Which Protocols Work on Which Devices?.
Legacy protocols: PPTP and L2TP/IPsec
PPTP is still listed in some device settings, but its usual authentication method, MS-CHAP v2, has a published practical attack. Microsoft's Security Advisory 2743314 warned in 2012 that an attacker who captures this authentication traffic could recover a user's credentials, and the company treated it as a design weakness rather than a bug to patch. Apple and Android have since dropped PPTP from their built-in clients. There is no consumer situation in which PPTP is a sensible choice when any alternative is available.
L2TP/IPsec is different from PPTP. L2TP creates the tunnel but provides no encryption of its own; in the combined protocol, IPsec supplies the encryption. So "L2TP" on its own is not a secure VPN, while "L2TP/IPsec" can be, depending on how IPsec is configured. Its practical problem is shrinking native support: standard Android 12+ no longer includes it, and new Windows Server 2025 VPN deployments do not accept PPTP or L2TP by default. On October 30, 2026, Microsoft confirmed that Windows Server 2025 will be the last Long-Term Servicing Channel Windows Server release to include them; support in Server 2025 continues through its lifecycle. That decision concerns the VPN server role, not Windows VPN clients. Treat L2TP/IPsec as a compatibility fallback, not a choice to build around.
For the distinction between these older options and their security limitations, read PPTP vs L2TP: Why These VPN Protocols Are Legacy Options.
Provider-specific protocols and naming
Protocol menus in VPN apps don't always use standard names, which can make comparisons misleading. Three patterns are worth recognizing:
- Branded versions of standard protocols. Some providers give their own name to a modified WireGuard or OpenVPN setup. The underlying protocol is the same, but privacy handling, defaults, and performance belong to that provider's implementation.
- Entirely in-house protocols. ExpressVPN's Lightway is an example. Its original C core code remains public under an open-source license, but ExpressVPN now directs readers to an actively maintained Rust implementation. The Rust code uses wolfSSL by default and also supports BoringSSL. For a provider-specific protocol, check which implementation is current and whether independent reviews actually cover that code, rather than relying on the protocol name or speed claims.
- Mode labels. "OpenVPN UDP" and "OpenVPN TCP" are one protocol over two transports. "IKEv2" in an app almost always means IKEv2/IPsec. "Automatic" or "smart" options choose for you according to rules each provider sets.
When a benchmark or review compares a branded protocol with a standard one, it compares particular implementations and configurations, not just two protocol designs.
How to choose a VPN protocol
Start from the constraint that actually limits you, then pick among the current protocols your provider or device supports.
| If your situation is… | Start with | Why | Watch for |
|---|---|---|---|
| Everyday use with a provider app | WireGuard, or the app’s recommended default | Small, fixed modern design; handles network changes | How the provider handles WireGuard’s fixed tunnel addresses |
| UDP is unavailable on a network where VPN use is permitted | OpenVPN over TCP, if offered and permitted | TCP transport may be available when UDP is not | TCP mode may be slower on unreliable links |
| Phone that switches between Wi-Fi and mobile data | IKEv2/IPsec or WireGuard | MOBIKE (when supported) and WireGuard roaming can preserve connections | Restrictive networks may block IKEv2’s UDP ports |
| No app available, or a managed device | IKEv2/IPsec through the built-in client | Windows and Apple native clients; Android 11+ platform support varies by device | Settings and authentication methods vary by server |
| Speed is the priority | Repeat tests using comparable servers and conditions | Protocol speed depends heavily on implementation and network | Published benchmarks run under someone else’s conditions |
| Only PPTP or plain L2TP is offered | Look for a VPN service with a modern protocol | Plain L2TP is not encrypted and PPTP is insecure | Neither should be trusted with privacy-sensitive traffic |
If several options work equally well for you, any of the three current protocols is a reasonable choice, and the difference between them will usually matter less than the quality of the provider running them.
FAQ
Is the "Automatic" protocol setting safe to leave on?
Not necessarily. It depends on what the automatic mode can select. In a provider app, the rules are the provider's, so check which protocols it may use. Windows' built-in Automatic tunnel type can try different built-in protocols; Microsoft's current documentation still lists PPTP among the supported tunnel types. A successful automatic connection does not by itself tell you which protocol was selected. If the VPN server supports it, explicitly choosing IKEv2 prevents a PPTP fallback.
Should I look for post-quantum protection in a VPN protocol?
It is becoming available, but as an implementation feature rather than a protocol category. Apple's version-26 operating systems can be configured to add ML-KEM key exchanges to IKEv2, and WireGuard's maintainers suggest running a post-quantum handshake on top of the protocol and feeding the result into its pre-shared key slot. Whether you get either depends on the server and the app or profile in use, so it is a question to ask a provider, not something the protocol name guarantees.