Router Basics

IKEv2/IPsec: The Mobile-First VPN Protocol

IKEv2 connects fast and holds on when your phone jumps between Wi-Fi and cellular. On a router, WireGuard is usually the better pick. Here's why.

100,000+ Routers Shipped · 15+ Years of VPN Expertise · Official NordVPN Partner · US-Based Experts

The short version

  • IKEv2/IPsec is a secure VPN protocol that's built into iOS, macOS and Windows.
  • It shines on phones and laptops because it reconnects quickly when your network changes.
  • Router support is limited, so for a VPN router we recommend WireGuard, with OpenVPN as a fallback.
Overview

A handshake, then a secure tunnel

IKEv2 (Internet Key Exchange version 2) sets up the connection. It checks that your device and the VPN server are who they say they are, using certificates, a pre-shared key or a username and password, and agrees on fresh encryption keys with a Diffie–Hellman exchange.

IPsec then does the heavy lifting. It uses those keys to encrypt your traffic and carry it through the tunnel to the VPN server. That's why the pair is usually called IKEv2/IPsec.

Want the protocol we recommend for routers? Read our WireGuard guide.

Your device VPN server 1. IKEv2 handshake agree on keys, check identities encrypted data 2. IPsec tunnel carries all your traffic

IKEv2 sets up the keys. IPsec carries your data.

What It Does Well

Why IKEv2 is popular on phones

Four reasons VPN apps often use it on mobile devices.

Built for mobile

MOBIKE support keeps your VPN up when you switch between Wi-Fi and cellular, with no dropped connection.

Quick to connect

IKEv2 connects and reconnects quickly, and it's lighter than OpenVPN on many devices.

Strong encryption

Runs with modern ciphers such as AES-256, with fresh keys for each session (Perfect Forward Secrecy).

Built into your devices

iOS, macOS and Windows support IKEv2 natively, so many VPN apps can use it without extra software.

IKEv2 vs WireGuard vs OpenVPN

How they compare

All three are secure when set up well. The difference is where each one fits best.

IKEv2/IPsecWireGuardOpenVPN
SpeedFastFastestGood
Switching networksExcellentGoodSlower
Built into phones and laptopsYesApp neededApp needed
Router firmware supportLimitedWideWidest
Best forPhones and laptopsVPN routersMaximum compatibility

For a router, start with WireGuard. If your provider or firmware doesn't offer it, OpenVPN is the most widely supported option.

On a router

IKEv2 isn't the right fit for your router

Router support for IKEv2 is limited, and our Wi-Fi 7 routers don't support it. They run WireGuard and OpenVPN, and we can set up your VPN provider before your router ships as an optional add-on at checkout.

Our Picks

Wi-Fi 7 routers we recommend instead

Fast WireGuard and OpenVPN on router hardware. Or browse all VPN routers.

ASUS RT-BE92U Wi-Fi 7 VPN router
Most power

ASUS RT-BE92U

Tri-band Wi-Fi 7 with the headroom to run a fast WireGuard VPN for every device in a busy home.

Shop Now →
ASUS RT-BE58U Wi-Fi 7 VPN router
Best value

ASUS RT-BE58U

Dual-band Wi-Fi 7 with strong WireGuard performance for most homes, at a lower price.

Shop Now →

Have a VPN already? We work with 30+ VPN providers. See supported VPNs.

FAQ

IKEv2 questions

What people ask before choosing a VPN protocol.

Is IKEv2 secure?
Yes, when it's set up with modern ciphers such as AES-256 and strong authentication. Avoid providers or settings that fall back to weak legacy options.
Is IKEv2 faster than WireGuard?
Usually not. WireGuard is generally faster and lighter, which is why we recommend it for routers. IKEv2 tends to connect faster than OpenVPN.
Do FlashRouters routers support IKEv2?
Our Wi-Fi 7 routers don't support IKEv2. They run WireGuard and OpenVPN, which most VPN providers support on routers. You can still use IKEv2 in your VPN app on phones and laptops.
Do open source routers support IKEv2/IPsec?
Some open source firmware can run IKEv2/IPsec with extra packages such as strongSwan, but setup is manual and few VPN providers give router instructions for it. Most use WireGuard or OpenVPN instead.
Should I use IKEv2 on my phone?
It's a good choice if your VPN app offers it, especially if you move between Wi-Fi and cellular a lot. WireGuard-based options work well on phones too.

Ready for a faster VPN router?

Get a Wi-Fi 7 router built for WireGuard, with VPN setup available as an add-on at checkout.

Shop VPN RoutersTake the Router Quiz
Copyright © 2013-present IPANYWHERE Inc. All rights reserved.