Topic Terms

What is IKEv2/IPSec?

IKEv2/IPSec is a VPN protocol developed by Microsoft and Cisco that is known for fast reconnection speeds and strong security, making it a popular choice for mobile devices that frequently switch between Wi-Fi and cellular networks.

IKEv2/IPSec (Internet Key Exchange version 2 / Internet Protocol Security) is a VPN tunneling protocol jointly developed by Microsoft and Cisco. While newer protocols like WireGuard have largely taken the performance crown, IKEv2 remains a respected and widely used option — particularly on mobile devices.

How IKEv2 Works

IKEv2 handles key exchange and authentication, while IPSec does the actual encryption and encapsulation of data. Together they form a secure tunnel. IKEv2 operates on UDP port 500 (and 4500 for NAT traversal).

The protocol uses AES-256 for encryption and supports multiple authentication methods, including certificates and pre-shared keys.

Why IKEv2 Excels on Mobile

IKEv2 supports MOBIKE (Mobility and Multihoming Protocol), which allows the VPN tunnel to survive changes in the underlying network connection. If you switch from Wi-Fi to 4G/5G or move between access points, IKEv2 can re-establish the connection near-instantly without having to renegotiate from scratch.

For WireGuard the same benefit exists but IKEv2 is natively built into iOS and many Android devices — meaning it can connect without a third-party app in some cases.

IKEv2 vs. WireGuard on Mobile

IKEv2/IPSec WireGuard
Reconnection speed Very fast Very fast
Native iOS support Yes (built-in) Via app only
Battery efficiency Good Excellent
Modern cryptography Good State-of-the-art
Codebase complexity High Very low

Security Considerations

IKEv2 has a solid security record. Its main vulnerability points are in implementation — Microsoft's built-in IKEv2 implementation has had more scrutiny and patching over the years. Open-source implementations (like StrongSwan) are generally considered more trustworthy.

Because IKEv2 is natively supported in Windows, macOS, iOS, and Android, it requires less client-side software — which reduces attack surface in some scenarios.

IKEv2 Support in VPN Services

Most major providers support IKEv2: ExpressVPN, NordVPN, ProtonVPN, and Surfshark all offer it. It's generally recommended as a secondary option — use WireGuard by default, and fall back to IKEv2 if WireGuard isn't available or you need the built-in OS integration.

When to Choose IKEv2

  • You're on iOS and want a stable, fast VPN without a third-party client
  • You frequently switch between mobile and Wi-Fi connections
  • You're configuring a VPN manually on a device without a dedicated client app