Quick answer

What is a VPN protocol?

It's the set of rules that decides how a VPN connection is set up, authenticated and encrypted. WireGuard, OpenVPN and IKEv2/IPsec are the common modern ones, and PPTP is outdated. Most VPN apps choose a protocol for you, so how well the provider runs it matters more than the name.

The main protocols, from their own documentation
ProtocolWhat to know
WireGuardSmall codebase, modern cryptography, sends all traffic over UDP.
OpenVPNOpen source, built on SSL/TLS, runs over UDP or TCP.
IKEv2/IPsecIETF standard, built into Apple devices; MOBIKE keeps it up when your network changes.
L2TP/IPsecOlder. L2TP relies on IPsec for its protection.
PPTPKnown weaknesses. Skip it.
Glowing fiber optic cables in blue and purple light against dark background representing secure digital communication

When you connect to a VPN, a specific set of rules governs how your data is encrypted, packaged, and transmitted between your device and the VPN server. That set of rules is called a VPN protocol. The protocol you use affects speed, security, battery life, and how reliably the VPN connection holds across different network conditions.

Most people never think about VPN protocols because modern VPN apps handle the selection automatically. But understanding what they are — and why it matters which one your VPN uses — helps you make sense of what you're actually getting when a VPN claims to offer strong security.

What a VPN Protocol Actually Does

A VPN protocol defines two fundamental things:

  • How the encrypted tunnel is established — the authentication process that proves your device is talking to a legitimate VPN server and not an attacker
  • How your data is encrypted in transit — the cipher suite used to scramble your traffic so it can't be read by your ISP, network administrators, or anyone on the same network

The encryption itself, for example AES-GCM or ChaCha20-Poly1305, is the cipher. The protocol is the framework around it: authentication, key exchange and session management. Two VPNs can use the same cipher and very different protocols, with different speed, reliability and setup.

With a VPN on, the VPN carries your traffic. So check who runs it.

Who builds CyberFence, where your VPN traffic goes, what we do not keep, and where it works, in under a minute.

Watch the Why CyberFence? film

Select play to load YouTube, then start the film in the player. YouTube processes data when loaded; its privacy policy applies.

Watch on YouTube (opens a new tab)

Read the video transcript

When you connect, your traffic runs through your VPN. So it matters who runs it, and what it keeps.

CyberFence is built by cybersecurity professionals. Your VPN traffic runs through servers in the United States.

And our privacy policy says it in plain words. We don't log your VPN browsing activity, DNS queries, connection timestamps or assigned IP addresses. We never store your card number.

The same protection works with Windows, Mac, iPhone, iPad and Android. Start monthly, and cancel anytime.

Read the policy yourself. Then decide. Protection you can check. Get protected today.

The Main VPN Protocols

WireGuard

WireGuard is newer than OpenVPN and IKEv2. Its developers say it aims to be faster, simpler and leaner than IPsec, and considerably more performant than OpenVPN.

How it works: WireGuard uses ChaCha20 for encryption, Poly1305 for authentication and Curve25519 for key exchange, plus BLAKE2s and SipHash24, and sends all packets over UDP (WireGuard protocol page). Initially built for the Linux kernel, it now runs on Windows, macOS, BSD, iPhone, iPad and Android. The WireGuard paper puts the core at less than 4,000 lines of code, not counting the cryptography.

Speed: WireGuard was designed to be considerably more performant than OpenVPN. Real-world speed depends on the provider's servers, your network and your device, so treat published speed comparisons as a rough guide.

Security: A small codebase is easier to review, and WireGuard was built with that in mind. Its paper describes OpenVPN, by comparison, as enormously complex. ChaCha20-Poly1305, the cipher WireGuard uses, is also defined for TLS, the encryption behind HTTPS (RFC 7905).

Limitations: WireGuard sends everything over UDP and doesn't tunnel over TCP, and its developers say hiding VPN traffic from blocking isn't a goal (WireGuard known limitations). On networks that block UDP, it may not connect. A server also keeps each peer's most recent IP address while the tunnel is in use, so how a provider handles that matters for privacy.

A good fit for: Everyday use on most networks. Because WireGuard follows a device's most recent IP address, it handles moving between Wi-Fi and mobile data well.

OpenVPN

OpenVPN is an older, widely used protocol, including in business networks. It is open source under the GPL, built on SSL/TLS, and runs over UDP or TCP. OpenVPN Inc. says the community edition has been downloaded more than 50 million times.

How it works: OpenVPN uses the OpenSSL library and supports configurable 256-bit encryption. It can run over UDP, which OpenVPN recommends, or over TCP, which helps on networks with restrictions but can slow down because of an effect called TCP meltdown.

Speed: WireGuard was designed to be considerably more performant than OpenVPN, and OpenVPN itself recommends UDP over TCP where it works. Actual speed depends on the provider's servers, your network and your device.

Security: OpenVPN is open source and has been in use for many years, so its code is public for anyone to review, and it can use strong modern ciphers when configured well.

Compatibility: Because OpenVPN can run over TCP, it can sometimes connect on restrictive networks, such as some workplace firewalls, where protocols that need UDP can't. That depends on the network.

A good fit for: Networks that block or limit UDP, and organizations that already run OpenVPN.

IKEv2/IPsec

IKEv2 (Internet Key Exchange version 2) is an IETF standard. It's the part of IPsec that handles mutual authentication and sets up and maintains the secure connection (RFC 7296). iPhone, iPad and Mac include a built-in IKEv2 client (Apple), and since Android 11, Android's default IKEv2 client supports handoff between networks (Android).

How it works: IKEv2 handles the key exchange and authentication, while IPsec encrypts and checks the data. Together they form a mature, widely deployed standard with built-in support on Apple devices and recent Android versions.

Speed: Speed depends on the implementation. Its MOBIKE extension keeps the VPN connection up when your device's address changes, such as moving from Wi-Fi to mobile data (RFC 4555).

Security: IKEv2/IPsec supports strong modern ciphers, including AES-GCM. IPsec has many options, so a poor configuration can weaken it. Set up well and kept updated, it's a solid choice.

A good fit for: iPhone, iPad and Mac users who want a built-in option, and anyone who moves between Wi-Fi and mobile data often.

L2TP/IPsec and PPTP (Older Protocols)

L2TP/IPsec and PPTP are older protocols that some providers still offer. They aren't equal:

  • PPTP: Has known weaknesses. Microsoft warned in 2012 that PPTP using MS-CHAP v2 for sign-in can expose credentials, and pointed users to more secure options such as L2TP, IKEv2 or SSTP. Don't use it to protect anything sensitive.
  • L2TP/IPsec: L2TP doesn't protect the tunnel on its own; it relies on IPsec for that (RFC 3193). It still works, and Apple devices still include it, but it offers little that IKEv2 doesn't.

If a VPN provider still offers PPTP as a main option, ask why, and pick something else.

How to Choose the Right Protocol

For most people, the protocol is something the app handles. If you do get a choice:

  • Let the app choose. Most VPN apps pick a protocol for you, and that's fine for everyday use. If yours offers WireGuard, it's a sensible everyday option.
  • Try OpenVPN over TCP if your usual protocol won't connect on a restrictive network, such as some workplaces or hotels. It can get through where UDP is blocked.
  • Try IKEv2 if your connection drops when you move between Wi-Fi and mobile data on iPhone, iPad or Android. Its MOBIKE extension is built for address changes.
  • Skip PPTP. Use L2TP/IPsec if nothing newer is available.

Does the Protocol Affect Encryption Strength?

The protocol and the cipher are related but separate. WireGuard uses ChaCha20-Poly1305. OpenVPN and IKEv2 commonly use AES-GCM, often with 256-bit keys, depending on how the provider sets them up. Both ciphers are widely used, including in TLS, the encryption behind HTTPS.

The practical question isn't "which cipher is stronger?" but "is the protocol set up correctly with a strong cipher, and kept up to date?" How well the provider sets up and maintains the software matters more than the choice between two strong modern ciphers.

What About Proprietary Protocols?

Some VPN providers advertise their own protocols. Providers often describe them as built on the same cryptographic building blocks as WireGuard or OpenVPN and tuned for things like slow or unreliable connections.

Proprietary protocols can work well, but there's a tradeoff: fewer outside researchers have looked at them than at open protocols like WireGuard or OpenVPN, whose code anyone can read. If a provider uses its own protocol, look for published code or outside security reviews.

For most people, a well-run standard protocol is a safer bet than a proprietary one from a provider you know little about, whatever the speed claims.

The Bottom Line

A VPN protocol is the set of rules that decides how your data is encrypted and sent. WireGuard is lean and modern, OpenVPN is flexible on restrictive networks, and IKEv2 handles network changes well and is built into Apple devices. PPTP is outdated.

What matters more than the protocol's name is whether your provider sets it up correctly, keeps it updated, and is clear about what it logs. You can check for DNS leaks yourself with our DNS leak test.

Frequently Asked Questions

What is a VPN protocol?

The set of rules a VPN uses to set up, authenticate and encrypt its connection.

Which VPN protocol is fastest?

It depends on the provider's servers, your network and your device. WireGuard was designed to be leaner and more performant than OpenVPN.

Is PPTP safe to use?

No. Microsoft warned that PPTP with MS-CHAP v2 has known weaknesses that can expose credentials. Use a newer protocol.

Do I need to choose a protocol myself?

Usually not. Most VPN apps choose one for you.

Does the protocol change how strong the encryption is?

Less than you might think. Modern protocols use strong ciphers such as ChaCha20-Poly1305 or AES-GCM. Correct setup and updates matter more.

Read Next

Want to go deeper? Read the CyberFence competitor comparison hub , our free privacy and security tools , or CyberFence plans and pricing .