Making VPNs quantum-safe: what IPsec and IKEv2 can do today and what is still missing
Site links and remote access often run over IPsec. How the key exchange becomes quantum-safe, what is standardised and what to ask vendors now.
- Whatever runs through a VPN tunnel today can be recorded and decrypted later if the key exchange is classical.
- Since RFC 9370, IKEv2 can perform several key exchanges in a row. The profile for the NIST method is an advanced draft, not yet an RFC.
- VPN gateways are long-lived. Post-quantum support, fragmentation and interoperability belong in every tender now.
Between headquarters and plant, between data centre and cloud, between laptop and corporate network: a large share of confidential business data flows through VPN tunnels, many based on IPsec. Anyone recording traffic from such tunnels today can keep it until future quantum computers break the key exchange. Making a VPN quantum-safe is therefore one of the first tasks in any migration plan.
How an IPsec VPN negotiates its keys
An IPsec tunnel is set up in two steps, controlled by the IKEv2 protocol:
- Negotiation (IKE_SA_INIT): both sides agree on a shared secret through a key exchange. This step is classical today and is the quantum-critical part.
- Authentication (IKE_AUTH): both sides prove who they are, usually with certificates or pre-shared keys.
The keys for the actual data channels are derived from the shared secret. The data itself is encrypted symmetrically; with sufficient key length these methods are considered robust against quantum computers too.
As with TLS and SSH, the key exchange comes first because it can be attacked retroactively. Authentication must be switched before powerful quantum computers exist but can follow later. Our article on quantum-safe TLS explains the same trade-off.
What is standardised and what is not
- Multiple key exchanges: RFC 9370 (2023) allows up to seven additional key exchanges in IKEv2 after the classical one. Together with RFC 9242, which introduces dedicated intermediate messages for this, it forms the framework for a hybrid tunnel: classical plus quantum-safe.
- Profile for the NIST method: the draft draft-ietf-ipsecme-ikev2-mlkem specifies how the key encapsulation method under FIPS 203 is used in this framework, hybrid or on its own. It is an advanced Internet-Draft (as of July 2026), not yet an RFC.
- Post-quantum authentication with new signatures and certificates is in progress; RFC 9881 provides the basis for the certificates (see certificates and SSH).
Key point: A quantum-safe tunnel today is a hybrid tunnel: first the proven key exchange, then an additional post-quantum exchange, both feeding into the key.
The practical stumbling blocks
- Larger messages: post-quantum keys are much larger. The first IKE messages run over UDP and can become too large for the network path. The draft therefore advises against using the larger parameter sets in the first step if the path's packet size is unknown, and to rely on fragmentation at the IKE level.
- Interoperability: between gateways from different vendors, implementing the same draft version is what matters. Test connections to partners and service providers, not just your own network.
- Hardware acceleration and lifetime: VPN gateways and firewalls often run for eight to ten years. Whether a device gets the new methods via software update decides when it has to be replaced.
- Remote access: on laptops and phones the VPN client must follow. Hard-coded profiles are the most common gap there.
Quantum-safe VPN: the roadmap
- Inventory tunnels: site links, partner links, remote access, with device, version and owner. Part of your crypto inventory.
- Order by sensitivity: tunnels carrying design data, personnel data or control traffic first.
- Ask vendors: support for RFC 9370 and the post-quantum profile, date, update path, fragmentation.
- Pilot: run one site link in hybrid mode, measure performance and stability, test fallback.
- Update tenders: make post-quantum key exchange and updatability a mandatory criterion. Our article on the EU roadmap lists the BSI deadlines (end of 2030 and 2031).
Tools for inventory and the transition
QuantiCor, the company behind PQVault, offers two tools for this. PQCryptoGuard automatically discovers the algorithms, keys, certificates and protocols such as TLS, SSH and VPN in use and scores their risk. PQInfraProtect centrally protects server-to-server and desktop-to-server connections against quantum attacks without changing applications or protocols. That can bridge the time until all gateways support the RFC 9370 key exchange.
Protect content end-to-end as well
A VPN protects the path, not the data at the destination. Confidential files, plans and conversations can additionally be encrypted end-to-end, regardless of which tunnel they pass through. PQVault Device Sync connects devices directly and encrypts with NIST-standardised post-quantum methods; Collaboration does the same for chat, calls and video. For your own applications there is the SDK. More scenarios are on the digital infrastructure & data centres page.
PQVault is a product of QuantiCor Security GmbH, Darmstadt — specialists in post-quantum cryptography. More about QuantiCor Security
