VPN protocols decide how secure, fast and reliable your VPN connection is. Since remote and hybrid work became the norm, more companies rely on VPNs every day. That’s a good reason to look at the available VPN protocols again and compare them in terms of security and performance.

Why Companies Use a VPN
First, let’s recall the most common VPN scenarios:
- connecting two or more offices through a secure channel;
- giving remote employees access to the corporate network;
- changing your virtual location through a commercial VPN provider. In this case, however, all your traffic goes through someone else’s server.
Each scenario relies on VPN protocols. Some of them create the tunnel, while others encrypt the traffic inside it. On top of a suitable protocol, you build the final solution.
Today, the most widely used VPN protocols are OpenVPN, IPsec (usually with IKEv2) and WireGuard. Older protocols still exist, and some of them can solve specific tasks. Most of them, however, are outdated.
How to Choose a VPN Protocol
The best protocol depends on your situation. Consider these four factors:
- Devices. Different devices and operating systems support different protocols.
- Network. Some networks block certain protocols or ports. For example, a protocol that works at home may fail in a hotel or in a country with strict internet filtering.
- Performance. Some protocols work better on mobile devices, while others suit large networks.
- Threat model. Some protocols have known weaknesses. Therefore, the more sensitive your data, the stricter your choice should be.
Now let’s look at each protocol in detail.
PPTP: the Oldest of the VPN Protocols
Microsoft developed the Point-to-Point Tunneling Protocol (PPTP) in the 1990s. It is one of the oldest VPN protocols that is still in use.
PPTP uses two connections. The control connection runs over TCP port 1723. The data connection uses the GRE protocol, which works as a separate transport protocol instead of TCP or UDP. Because of GRE, clients behind NAT can have connection problems. Fortunately, most modern routers support a feature called VPN Passthrough, which solves this issue.
PPTP is fast and easy to set up. However, it is not secure. Its MS-CHAPv2 authentication is vulnerable to dictionary attacks, and its RC4 encryption has known weaknesses. In addition, PPTP recovers slowly after a connection drop.
Microsoft has long advised against PPTP, and in 2024 it announced that PPTP will be removed from future versions of Windows Server. Our advice is simple: don’t use PPTP if security and privacy matter to you.
SSTP
Microsoft also developed the Secure Socket Tunneling Protocol (SSTP). Unlike PPTP, SSTP has no known major security problems.
SSTP sends traffic over SSL/TLS on TCP port 443, the same port that regular HTTPS traffic uses. As a result, firewalls rarely block it. This makes SSTP useful in restricted networks.
SSTP is fast, stable and secure. On the downside, it is mainly a Windows protocol, and few VPN providers support it. If other protocols are blocked, SSTP can help. Still, OpenVPN over TCP port 443 is usually a better choice.
IPsec VPN Protocols
Internet Protocol Security (IPsec) is a set of protocols that protects data on IP networks. It works at the network layer. Because of this, many operating systems support it natively, and users don’t need extra applications.
IPsec protects each IP packet with two mechanisms:
- Authentication Header (AH), which signs each packet;
- Encapsulating Security Payload (ESP), which provides confidentiality, integrity and authentication.
In practice, IPsec is usually combined with L2TP or IKEv2. Before we look at these pairs, one note on security. A leaked NSA presentation mentioned attacks on some IPsec setups. The details are vague, and IPsec is still considered secure when you configure it correctly. Nevertheless, organizations with a strict threat model should keep this in mind.
L2TP/IPsec
The Layer 2 Tunneling Protocol (L2TP) appeared in 1999 as a successor to Cisco’s L2F and Microsoft’s PPTP. L2TP itself doesn’t encrypt anything. For this reason, it is almost always paired with IPsec, as described in RFC 3193.
L2TP/IPsec is much more secure than PPTP, and most operating systems support it out of the box. It can use 3DES or AES encryption. Since 3DES is now considered weak, you should always choose AES.
However, L2TP/IPsec has two drawbacks. First, it encapsulates data twice, so it is slower than modern alternatives. Second, firewalls sometimes block its UDP ports. Microsoft has also announced the deprecation of L2TP in future Windows Server releases.
IKEv2/IPsec
Internet Key Exchange version 2 (IKEv2) handles authentication and key management for IPsec. The standard is described in RFC 7296. Microsoft and Cisco developed the protocol together. In addition, there are good open-source implementations, such as strongSwan and Libreswan.
IKEv2 supports MOBIKE, which keeps the VPN connection alive when the network changes. This makes it a great choice for smartphones that switch between Wi-Fi and mobile data.
IKEv2/IPsec supports strong encryption, including AES with 256-bit keys, and Perfect Forward Secrecy. It is also lightweight, so it is often faster than OpenVPN. Windows, macOS, iOS and Android support IKEv2 natively.
OpenVPN
OpenVPN is an open-source VPN protocol developed by OpenVPN Inc. For many years, it has been the most popular choice for business and commercial VPNs. Thanks to its open code, it has passed several independent security audits.
OpenVPN is stable and fast enough for most tasks. It can run over UDP or TCP on any port. As a result, it can disguise itself as normal HTTPS traffic on port 443 and work in networks that block other protocols.
On the other hand, OpenVPN needs a separate client application. Most VPN services provide their own apps, and official clients exist for Windows, macOS, Linux, iOS and Android.
WireGuard: the Newest of the VPN Protocols
WireGuard is the youngest protocol in this review. Its authors designed it as a simpler, faster and more secure replacement for IPsec and OpenVPN.
WireGuard wraps all traffic in UDP and uses a fixed set of modern cryptographic algorithms:
- Curve25519 for key exchange;
- ChaCha20 for encryption;
- Poly1305 for data authentication;
- SipHash for hash table keys;
- BLAKE2s for hashing.
Its code base is tiny: about 4,000 lines compared with hundreds of thousands in OpenVPN. Consequently, it is much easier to audit. Administrators also note that WireGuard is easier to deploy and configure.
WireGuard has been part of the Linux kernel since version 5.6, released in 2020. The kernel code passed an independent security audit without major findings. Since then, WireGuard has become a standard option in most commercial VPN apps, routers and cloud services. Its performance is excellent, especially on Linux.
VPN Protocols Comparison Table
The table below summarizes the key differences between the VPN protocols we reviewed.
| PPTP | SSTP | L2TP/IPsec | IKEv2/IPsec | OpenVPN | WireGuard | |
|---|---|---|---|---|---|---|
| Developer | Microsoft | Microsoft | Cisco, Microsoft, IETF | Cisco, Microsoft, IETF | OpenVPN Inc. | Jason A. Donenfeld |
| License | Proprietary | Proprietary | Open standard | Open standard, open-source implementations | GNU GPL | GNU GPL |
| Built into OS | Yes (being removed) | Windows | Most OS | Most OS | No, needs a client | Linux kernel; apps for other OS |
| Encryption | MPPE (RC4, up to 128-bit) | SSL/TLS | 3DES or AES | AES, Camellia and others | OpenSSL ciphers, usually AES | ChaCha20, Poly1305, Curve25519 |
| Ports | TCP 1723 + GRE | TCP 443 | UDP 500, 1701, 4500 | UDP 500, 4500 | Any UDP or TCP | Any UDP |
| Security | Serious vulnerabilities | No major issues | Secure with AES | Secure | Secure | Secure |
Which VPN Protocol Should You Choose?
In short, here are our recommendations:
- For most business and personal use, choose WireGuard or OpenVPN.
- For mobile users who change networks often, IKEv2/IPsec is an excellent option.
- In restrictive networks, use OpenVPN over TCP 443 or SSTP.
- Avoid PPTP, and plan to move away from L2TP/IPsec.
Remember that a VPN protects only the network layer. To secure your applications as well, read about 8 popular tools to scan your web app for vulnerabilities and why usability vs security is not a tradeoff. If you need help with secure infrastructure or custom software, contact the Yotec team.