VPN TCP fallback is what a remote access client does when it cannot reach its gateway over UDP: it retries over TCP, usually on port 443, so it can get through hotel, guest or customer networks. For post-quantum security, the question is whether that fallback path still negotiates a hybrid ML-KEM key exchange or quietly drops back to classical-only key agreement.
This matters a lot for organizations running OT and critical infrastructure. The people who most often connect from untrusted networks are field engineers, integrators and on-call staff, and they are also the ones who reach engineering workstations, historians and controller configurations. If traffic is recorded today, it can be decrypted later once quantum computers can break classical key exchange. A tunnel that is quantum-safe in the office but classical in a hotel lobby leaves exactly that gap.
What happens to post-quantum protection when a remote access VPN falls back from UDP to TCP port 443?
The answer depends on what the fallback actually is. If the same IKEv2 exchange simply moves onto TCP, a configured hybrid ML-KEM exchange survives. If the client switches to a different tunnel protocol, that protocol’s own key exchange settings decide the outcome.
Same protocol, different transport
RFC 9329 defines how to carry IKE and ESP packets inside a TCP connection. In the words of its authors, Tommy Pauly and Valery Smyslov, the method “is intended to be used as a fallback option when IKE cannot be negotiated over UDP.” The IKE messages themselves do not change. Whatever key exchange methods the peers would have negotiated over UDP, they can negotiate over TCP too.
Two details are important in practice. First, support for TCP encapsulation is not negotiated inside IKE. It has to be preconfigured on both the client and the gateway. Second, all IPsec SAs created under one IKE SA share a single TCP connection, so the data traffic also runs over TCP.
Different protocol behind the same port
Many remote access deployments use a different mechanism for their port 443 fallback: a TLS-based tunnel. Here the key exchange is governed by TLS 1.3 (RFC 8446) and the groups offered in the key_share extension. A gateway can have hybrid ML-KEM enabled for IKEv2 and still run a TLS listener that offers only classical elliptic-curve groups. The user sees a connected tunnel either way.
| Fallback scenario | Where the key exchange is defined | Likely post-quantum outcome |
|---|---|---|
| IKEv2 moved to TCP (RFC 9329) | Same IKEv2 proposals, including RFC 9370 additional key exchanges | Hybrid ML-KEM retained if the proposals require it |
| IKEv2 over TCP with a separate “compatibility” profile | Whatever that profile lists | Classical if ML-KEM was left out of the profile |
| TLS-based tunnel on 443 (RFC 8446) | TLS key_share groups on client and gateway | Hybrid only if both ends enable a hybrid ML-KEM group |
| Traffic broken open by an inspecting proxy | Two separate TLS sessions | Post-quantum protection, if any, ends at the proxy |
Does IKEv2 over TCP (RFC 9329) support multiple key exchanges with ML-KEM?
Yes. RFC 9329 only changes the transport, so the IKE_INTERMEDIATE exchanges that RFC 9370 uses for extra key exchanges run over TCP in the same way they run over UDP.
RFC 9370 performs additional key exchanges in IKE_INTERMEDIATE messages that follow IKE_SA_INIT. It also adds IKE_FOLLOWUP_KE, so that rekeying and new Child SAs get the same treatment. The specification for ML-KEM in IKEv2 is a profile of RFC 9370 and registers identifiers for ML-KEM as defined in FIPS 203. Panos Kampanakis, author of that IETF draft, summarizes the goal: “By integrating ML-KEM into IKEv2, IKEv2/IPsec tunnels become resistant to harvest-now-decrypt-later attacks.” As of version 09, published in July 2026, the ML-KEM document was still an Internet-Draft. Check which revision your gateway and clients implement.
The numbers explain why transport matters:
- Classical IKEv2 requires two round trips. Adding one IKE_INTERMEDIATE for an RFC 9370 hybrid exchange requires three (arXiv 2610.25799, 2026).
- RFC 9370 allows one additional key agreement per intermediate exchange, up to seven in total (arXiv 2610.32356, 2026).
- ML-KEM-768 and ML-KEM-1024 key exchanges could need two or three IP packets from each side, because they can exceed the typical MTU (IETF draft-ietf-ipsecme-ikev2-mlkem-02, 2025).
| Parameter set | Encapsulation key / ciphertext (FIPS 203, 2024) | IKEv2 KE payload, initiator / responder (draft-ietf-ipsecme-ikev2-mlkem-03, 2025) |
|---|---|---|
| ML-KEM-768 | 1184 / 1088 bytes | 1192 / 1096 bytes |
| ML-KEM-1024 | (see FIPS 203 Table 3) | 1576 / 1576 bytes |
Over TCP, these payloads stream reliably without IKE fragmentation. That is why an IETF draft on reliable IKEv2 transport allows an initiator to start IKE_SA_INIT over TCP directly when large key exchange payloads are used. The trade-off is that RFC 9329 also puts ESP inside TCP, which costs performance. For interactive engineering sessions that is usually acceptable. For bulk historian transfers it may not be.
There is also a downgrade rule to apply. The ML-KEM draft says that if the initiator knows out of band that the responder supports ML-KEM, it should only propose ML-KEM-containing proposals, or abort if the responder picks one without it. For managed remote access clients you always know this in advance, so do not leave classical-only proposals in the list “for compatibility”.
How can administrators check whether Windows and macOS clients on hotel or guest networks are using a classical fallback tunnel?
Start at the gateway, which sees every session, and confirm on the client only when you need to. The evidence you need is two fields per session: the transport used and the key exchange methods negotiated.
Gateway-side evidence
Configure session logging so that each tunnel records the protocol (IKEv2 or TLS), the transport and port, the primary key exchange method, and any additional key exchange transforms. Then build a daily report of sessions where the transport is TCP and the additional key exchange is NONE (or the TLS group is classical). Group the results by user and source network. This quickly separates a structural problem, such as a misconfigured fallback profile, from a one-off like a single customer site.
Client-side checks
- Windows: in PowerShell,
Get-NetTCPConnection -RemotePort 443shows whether the client holds a TCP session to the gateway address, andGet-NetUDPEndpointshows UDP 500/4500 sockets. For the built-in VPN client,Get-VpnConnectionshows the configured tunnel type. - macOS:
scutil --nc listlists configured VPN services and their state.lsof -iornetstat -anshows whether traffic to the gateway uses TCP 443 or UDP.
These commands show the transport, not the cryptography. To confirm the key exchange, use a packet capture. In IKEv2 the negotiated additional key exchange transforms are visible in the unencrypted IKE_SA_INIT exchange. In TLS 1.3 the group the server selects appears in the cleartext ServerHello.
Reproduce the hotel network in a lab
Don’t wait for field reports. Build a test segment that blocks UDP 500 and 4500, allows only TCP 443, and optionally routes through an explicit proxy. Run every supported Windows and macOS client build through it after each client or gateway update, and record the negotiated key exchange each time.
Should remote access policy block connections when the fallback transport cannot negotiate hybrid ML-KEM?
For privileged access to OT and critical systems, generally yes: fail closed and keep a documented exception path. For low-sensitivity access, a tiered policy that allows the connection but flags it is often more realistic.
NSA’s CNSA 2.0 profile for TLS 1.3 sets a useful benchmark. When interoperability with non-compliant peers is not intended, the authors write, “the session MUST fail if any aspect of CNSA compliance is not achieved.” Note that CNSA 2.0 specifies ML-KEM-1024 for key establishment, together with ML-DSA-87 for signatures. A hybrid ML-KEM-768 tunnel may meet your internal policy but would not meet that profile.
A workable tiering for OT operators:
- Privileged OT access (engineering workstations, controller configuration, safety system interfaces): require hybrid ML-KEM on every transport. Without it, the connection is refused.
- Break-glass: a pre-approved path for incidents that is short-lived, limited to the specific systems involved, approved by a named person and logged. Engineers who are refused at 2 a.m. will otherwise find their own workaround.
- Business access (email, ticketing): allow classical fallback temporarily, alert on it, and set a date by which the fallback profile must be fixed.
Whatever product you evaluate, ask the same question: which transport carries the hybrid handshake on a network that blocks UDP? Quantum Network’s QPN, for instance, combines a classical and an ML-KEM part into one session key, renews both handshakes every two minutes, and never falls back to unencrypted traffic. Its software client for Windows and macOS needs no incoming firewall ports. Testing its behaviour on a restricted guest network still belongs in your acceptance plan.
Do larger post-quantum handshakes over TCP cause connection failures behind restrictive proxies?
The handshake size itself is rarely the problem over TCP, because TCP splits and reassembles the data. Failures usually come from middleboxes that inspect, terminate or misread traffic on port 443.
The failure patterns to test for:
- Protocol-aware filters on 443. A raw RFC 9329 stream on port 443 is not TLS. Proxies that require a valid TLS handshake may reset it. RFC 9329 describes running TCP encapsulation inside TLS for this situation.
- TLS-intercepting proxies. A proxy that terminates TLS creates two sessions. If the proxy does not offer a hybrid group, the client-to-proxy leg is classical. If the client validates the gateway certificate correctly, the tunnel fails outright, which is the safer outcome.
- Large first messages. Hybrid key shares make the first client message larger than one segment. Middleboxes that expect the whole handshake in one packet can mishandle it. RFC 9329 recommends that the TCP connection negotiate its maximum segment size to avoid unnecessary fragmentation.
- Captive portals. Until the user accepts the portal terms, every TCP connection is redirected. Clients should detect this and not count it as a protocol failure that triggers a further fallback.
Over UDP, the risk is different: ML-KEM payloads that span several IP packets depend on IKE fragmentation, and networks that drop fragments cause timeouts. This is often the real reason a client falls back to TCP in the first place. Fix the UDP path where you control the network, for example at your own sites, and treat TCP fallback as the exception it was designed to be.
For site-to-site links between plants, substations and data centres, the transport is under your own control. A gateway-based design, such as the one Quantum Network uses for connections between locations, avoids the guest-network problem entirely. Remote access is different: the network belongs to someone else. Verifying the negotiated key exchange per session, instead of assuming it, is the core discipline for keeping post-quantum protection when UDP is blocked.
Where Quantum Network fits
Quantum Network is a quantum-safe encryption gateway that protects the connections between your own locations, without replacing the network equipment you already run.

Skip to content