Post-quantum VPN compatibility between Google Cloud VPN and peer gateways

Cloud VPN's stable tunnel configuration offers only classical Diffie-Hellman key exchange, while alpha gcloud flags expose ML-KEM settings; verify both ends before planning hybrid key exchange.

On this page

Can a Google Cloud VPN tunnel to a peer gateway use hybrid post-quantum key exchange today?

If you run IPsec tunnels between Google Cloud VPN and a peer gateway from another vendor, the short answer as of Dec 4, 2026 is that the sources do not show hybrid post-quantum key exchange in stable Cloud VPN tunnels. The stable gcloud reference for gcloud compute vpn-tunnels create and the stable Compute Engine vpnTunnels REST reference offer only classical IKE options: Diffie-Hellman groups such as 14, 5, 15, 16, 18, 2, 19, 20, 21 and 31, and elliptic curve options including CURVE_25519. Neither lists an ML-KEM or post-quantum flag. The Cloud VPN release notes, checked the same day, contain no entry on post-quantum cryptography or ML-KEM. Network teams with IPsec peers should plan on classical key exchange for any tunnel built from stable tooling.

The alpha gcloud reference for gcloud alpha compute vpn-tunnels create, checked Dec 4, 2026, is different. It adds --pqc-phase1-mode and --pqc-phase2-mode, each accepting DISABLED or ENABLED, and --pqc-phase1-key-exchanges and --pqc-phase2-key-exchanges, which accept KE_NONE, ML_KEM_768 and ML_KEM_1024 in semicolon-separated slots ke1 to ke7. These flags exist in the alpha surface only. The sources do not confirm that they are generally available, and they do not show that any peer gateway from another vendor has been tested against them. Treat the alpha flags as a preview to track, not as a supported configuration for production tunnels.

Google's PQC roadmap post of Aug 11, 2026 lists Cloud VPN under the 2026/2027 window, with a target of end of 2027 for protecting against store now, decrypt later. Before you record an answer for a security review, confirm with Google Cloud whether any Cloud VPN tunnel type, edition or region supports ML-KEM today, and ask the peer vendor the same question for its gateway. Record the answer as classical only, with the date and the gcloud release track you checked, and revisit it when the alpha flags reach general availability.

Which key exchange options each Cloud VPN tunnel setting exposes

This table compares the key exchange options each Cloud VPN tunnel interface exposes, by release line: stable gcloud and REST, and alpha gcloud. Read each row against the interface you use, since the post-quantum flags appear only in alpha. The main takeaway is that the stable interfaces expose only classical Diffie-Hellman groups, and the sources checked on December 4, 2026 show no post-quantum option in them.

Interface or settingKey exchange options exposedSource and check date
Stable gcloud and vpnTunnels REST, IKEv2 phase 1Classical Diffie-Hellman groups 14, 5, 15, 16, 18, 2, 19, 20, 21 and 31, set through the cipher suite or --phase1-dhSupported IKE ciphers, Compute Engine vpnTunnels REST reference, gcloud vpn-tunnels create reference, checked Dec 4, 2026
Stable gcloud and vpnTunnels REST, IKEv2 phase 2PFS groups from the same classical list, set through --phase2-pfs; phase 2 PFS is requiredSupported IKE ciphers, gcloud vpn-tunnels create reference, checked Dec 4, 2026
Stable gcloud and vpnTunnels REST, IKEv1modp_1024 (Group 2) only, with AES-CBC-128 and SHA1-based integrity and PRFSupported IKE ciphers, checked Dec 4, 2026
Alpha gcloud, pqc-phase1-mode and pqc-phase2-modeDISABLED or ENABLED per phase; the sources give no default for eithergcloud alpha vpn-tunnels create reference, checked Dec 4, 2026
Alpha gcloud, ML-KEM slots ke1 to ke7KE_NONE, ML_KEM_768 and ML_KEM_1024 as semicolon-separated slots, usable only when the matching mode is ENABLEDgcloud alpha vpn-tunnels create reference, checked Dec 4, 2026
Stable gcloud compute vpn-tunnels createNo ML-KEM or post-quantum flagsgcloud vpn-tunnels create reference, checked Dec 4, 2026
Cipher change rolloutDefault IKE cipher order moves CURVE_25519 first and drops Diffie-Hellman group 22; the page gives no datesCloud VPN cipher changes, checked Dec 4, 2026
Cloud VPN release notesNo entry on post-quantum cryptography or ML-KEM; customizable cipher options reached General Availability on Sep 30, 2025Cloud VPN release notes, checked Dec 4, 2026

Which parts of a tunnel decide whether hybrid key exchange is possible

A Google Cloud VPN tunnel and its peer gateway must agree on every setting that touches key exchange, authentication and transport before any hybrid mode can be negotiated. The cards below cover the parts that decide whether a match is possible, and what to confirm with the peer vendor for each. Start with the cipher and PFS settings, since those control which key exchange groups can be offered at all.

IKE key exchange and PFS groups

The tunnel negotiates Diffie-Hellman groups for Phase 1 and PFS groups for Phase 2, and both sides must offer a group in common. The Cloud VPN supported ciphers page lists Groups 14, 5, 15, 16, 18, 2, 19, 20, 21 and 31 for IKEv2, and every group it lists is a classical modp or elliptic curve group. The page does not mention ML-KEM or any post-quantum key exchange, so no hybrid group appears in the supported list. On the peer side, confirm which groups it offers and whether it can select one that Google Cloud also accepts.

Supported IKE ciphers

Pre-shared key authentication only

Cloud VPN supports only a pre-shared key for authentication, and its documentation describes no certificate-based or signature-based peer option. A peer gateway that expects certificates or a PKI trust chain cannot connect to Cloud VPN in that mode. Confirm that the peer can run with a pre-shared key and that both sides use the same key. Google's guide recommends a strong 32-character key, generated with openssl rand -base64 32, and the key must be stored and rotated by hand on both ends.

Pre-shared key guide

IKE version and IPv6 traffic

Cloud VPN supports IKEv1 and IKEv2, and the vpnTunnels resource and the gcloud flag both default to IKE version 2. IPv6 traffic, which only HA VPN supports, requires IKEv2. For IKEv2 tunnels, custom cipher options are available, while IKEv1 is limited to a short fixed list of AES-CBC-128, SHA1 and modp_1024 settings. A peer that runs only IKEv1 cannot use the IKEv2 cipher controls, so confirm the IKE version on both sides before comparing algorithms.

Cloud VPN overview

NAT traversal and MTU limits

Cloud VPN supports one-to-one NAT only, using UDP encapsulation for NAT-T, and it uses a 1460-byte MTU. Larger key exchange messages, such as those that carry bigger public values, are more likely to be fragmented or dropped when they cross NAT devices or links with a smaller MTU. The gateway addresses accept only ESP, UDP 500 and UDP 4500, so any firewall or NAT on the path must allow those flows. Check the peer's MTU and NAT behavior before assuming a larger key exchange will complete.

Advanced configurations

Cipher settings fixed at creation

Custom IKE and IPsec cipher options can be set only for IKEv2 tunnels, and they cannot be changed after the tunnel is created. The customizable cipher options reached General Availability on Sep 30, 2025, after a Public Preview that began on Jun 12, 2025. Through the gcloud create command, the phase 1 and phase 2 cipher flags have no listed defaults in the stable reference, so record the chosen values at creation. Changing them later means building a new tunnel, which is also the point where the peer's settings must be re-matched.

Cloud VPN release notes

How the answer changes by peer gateway and tunnel type

Cloud VPN covers two gateway types: HA VPN, which uses the vpn-gateway API resource, and Classic VPN, which uses the target-vpn-gateway resource. The two differ in how the tunnel is created and what the cipher options allow. Custom IKE and IPsec cipher options can be set only for IKEv2 tunnels, and IPv6 traffic, which only HA VPN supports, requires IKEv2. Confirm which gateway type your tunnel uses before you plan any change to key exchange settings.

  • HA VPN supports IKEv2 and IPv6, and it is the type where the customizable cipher options apply.
  • Classic VPN supports IKEv1 and IKEv2, so a tunnel that still runs IKEv1 cannot use the custom cipher settings.
  • IKE version defaults to 2 in the vpnTunnels REST resource and the --ike-version gcloud flag, with allowed values 1 and 2.
  • Cipher changes are made on the tunnel and cannot be changed after the tunnel is created, so the tunnel may need to be recreated.
  • Post-quantum flags appear only in the alpha gcloud reference, so check which command set your team uses before assuming a flag exists.

Check the gateway type and the IKE version on each tunnel before you record any post-quantum answer, because the available settings depend on both.

How to check a Cloud VPN peer for hybrid key exchange, in order

This sequence establishes whether a Google Cloud VPN tunnel and its peer gateway can negotiate a hybrid key exchange that includes ML-KEM. It produces a dated record of the current cipher configuration, the peer's documented groups, the flags the project can actually use, and the group negotiated in a test tunnel.

  1. Export the current tunnel configuration

    Using the Compute Engine vpnTunnels REST resource or an equivalent gcloud describe call, export the existing tunnel's configuration to a file. Record the ikeVersion and, if set, the cipherSuite object with its phase1 arrays (encryption, integrity, prf and dh) and phase2 arrays (encryption, integrity and pfs). The step is closed when the exported file is saved with the tunnel name, project, region and export date, and every cipher field is either copied or noted as unset. Custom cipher options can be set only on IKEv2 tunnels and cannot be changed after creation, so confirm the ikeVersion first.

  2. Confirm the peer's supported key exchange groups

    Obtain from the peer gateway's own vendor documentation or administrator the list of IKE key exchange groups it supports, and whether it supports any ML-KEM hybrid mode. Do not assume support from the peer's marketing material. The step is closed when a written list of the peer's supported groups, the firmware or software version it applies to, and the source document or contact is recorded. Google's published Cloud VPN groups are all classical Diffie-Hellman groups, so a hybrid match depends on the peer side.

  3. Check the alpha reference and project access

    Open the gcloud alpha vpn-tunnels create reference and note the --pqc-phase1-mode, --pqc-phase2-mode, --pqc-phase1-key-exchanges and --pqc-phase2-key-exchanges flags, which accept ML_KEM_768 and ML_KEM_1024 when the matching mode is set to ENABLED. Then run the alpha command help in the target project to confirm the flags are available to that project. The stable gcloud reference contains none of these flags, and the alpha reference does not state defaults. The step is closed when the flag availability for the project is recorded with the date of the check and the gcloud version used. Confirm with Google Cloud support if the flags are missing from the alpha help output.

  4. Test the pairing in a non-production tunnel

    Create a separate, non-production tunnel between a test Cloud VPN gateway and the peer gateway, using the alpha flags confirmed in the previous step where available, and the peer's documented groups. Establish the tunnel and confirm the negotiated key exchange group in the peer's logs and in any Cloud VPN diagnostics the project exposes. The step is closed when the log entry or screenshot showing the negotiated group is saved with the timestamp. If the negotiated group is classical, the hybrid exchange has not been achieved, and that result is recorded as is. Do not run this test against a production tunnel.

  5. Record the result with dates

    Write a dated record covering the exported production configuration, the peer's documented groups with their source, the alpha flags and project access, the test tunnel's negotiated group, and the Google Cloud roadmap status. Google's roadmap post dated Aug 11, 2026 lists Cloud VPN under the 2026/2027 table with an end-of-2027 target, and the release notes checked on Dec 4, 2026 contain no post-quantum entry. The step is closed when the record is signed off by the network and security owners and filed with the tunnel's change documentation, and the next review date is set.

What Google has not published for Cloud VPN and what to ask

The Google Cloud sources for Cloud VPN record several gaps in post-quantum key exchange support. Each gap below names what the sources do not say and gives the question to put to your Google Cloud account or support team before you plan a hybrid tunnel to a peer gateway.

Stable-channel ML-KEM flags

The stable gcloud compute vpn-tunnels create reference, checked Dec 4, 2026, has no ML-KEM or post-quantum flags. Only the alpha command exposes --pqc-phase1-mode and --pqc-phase2-mode. Ask your Google Cloud account team whether ML-KEM key exchange will be added to the stable channel and, if so, under which flag names and in which release. Until that answer is in writing, do not design a peer configuration that depends on stable-channel PQC settings.

Stable create reference

No post-quantum release note

The Cloud VPN release notes, checked Dec 4, 2026, contain no entry on post-quantum cryptography or ML-KEM. The cipher customization entries cover only classical groups. Ask Google Cloud support whether a release note, a launch announcement or a documentation change is planned for post-quantum support in Cloud VPN, and ask which release would carry it. Record the answer with its date, because the release notes are the document most reviewers will check first.

Cloud VPN release notes

No general availability date for alpha flags

The --pqc-phase1-mode, --pqc-phase2-mode and key-exchange flags appear only in the alpha reference, checked Dec 4, 2026. The sources give no general availability date for them, and no statement that they will move to beta or stable. Ask Google whether the alpha flags are intended for production use, what criteria would move them to general availability, and whether any date has been set. Do not treat the alpha flags as supported for production until Google confirms it in writing.

Alpha create reference

No default for PQC mode

The alpha reference lists DISABLED and ENABLED as the only values for the PQC mode flags, and it states no default. An unset value may therefore not mean the same thing on every tunnel or every release. Ask Google which value applies when the flag is omitted, whether that default could change, and whether the answer differs for HA VPN and Classic VPN. Set the flag explicitly in any configuration you record, so the setting is visible in your inventory.

Alpha create reference

Roadmap date of end 2027

Google's post-quantum roadmap post of Aug 11, 2026 lists Cloud VPN among the admin pathways to protect against store now decrypt later, with a target of end of 2027. The same post places Cloud VPN under the 2026/2027 row and says full PQC readiness is planned by 2029. The post does not describe what the end 2027 target delivers for tunnels to peer gateways. Ask Google which deliverable the target refers to, and whether it covers hybrid key exchange with third-party gateways.

Cloud VPN roadmap target
End 2027
Google PQC roadmap

What can go wrong when a peer gateway pairs with a Cloud VPN tunnel

The main risk in a mixed-vendor pairing is a silent fallback. A peer gateway may propose ML-KEM in its hybrid key exchange, but the Cloud VPN tunnel can still negotiate a classical Diffie-Hellman group without raising an error. The Google Cloud documentation lists only classical groups (modp and elliptic curve) on its supported IKE ciphers page, and the page does not mention ML-KEM, so the tunnel's own settings are the first thing to check. The gcloud alpha reference describes --pqc-phase1-mode and --pqc-phase2-mode, and --pqc-phase1-key-exchanges and --pqc-phase2-key-exchanges, but the stable gcloud compute vpn-tunnels create reference has no post-quantum flags, and the release notes contain no entry on ML-KEM. Treat these as conditions to test. Pair the tunnel with the peer in a lab, capture the negotiated IKE proposal, and confirm which key exchange was actually selected, rather than assuming the peer's offer was honored.

Older tunnels carry a second condition. Cloud VPN supports IKEv1, and for IKEv1 its supported ciphers list only AES-CBC-128, HMAC-SHA1-96, PRF-SHA1-96 and modp_1024 (Group 2). A peer that falls back to IKEv1 on an older tunnel can therefore settle on a 1024-bit group. The vpnTunnels REST resource and the gcloud --ike-version flag default to IKE version 2, so a tunnel that was created with IKEv1 must be checked explicitly. Cloud VPN's default cipher order is also changing. Google is rolling out a default IKE cipher order that puts CURVE_25519 first and drops Diffie-Hellman group 22, with no dates given. A pairing that works today may negotiate a different group after the change, so record the current default and watch the cipher changes page. Custom cipher options are settable only for IKEv2 and cannot be changed after the tunnel is created, so a wrong choice means building a new tunnel.

Transport settings can also break a pairing that looks correct on paper. Cloud VPN supports one-to-one NAT only, uses UDP encapsulation for NAT-T, and has an MTU of 1460 bytes. A post-quantum key exchange produces larger handshake messages than a classical one, and a peer behind a NAT or a path with a lower MTU may fragment or drop them. The gateway accepts only ESP, UDP 500 and UDP 4500, so a peer that relies on other paths will fail regardless of key exchange. Test with a handshake of the size the peer will actually send, across the same NAT and path the production traffic uses. Confirm that the pre-shared key was generated with at least 32 characters, as the Google Cloud guide recommends with openssl rand -base64 32, because Cloud VPN supports only a pre-shared key for authentication. Keep alpha flags out of production tunnels: they are not in the stable reference, so a production tunnel that depends on them has no documented support path.

Questions network and security teams ask about Cloud VPN hybrid key exchange

Is Google Cloud VPN quantum safe?

The sources do not show that Cloud VPN is quantum safe. The supported IKE cipher documentation lists only classical Diffie-Hellman groups (modp and elliptic curve) for key exchange and PFS, and it does not mention post-quantum or ML-KEM. The gcloud alpha reference, checked December 4, 2026, does accept ML-KEM_768 and ML_KEM_1024 flags (--pqc-phase1-mode, --pqc-phase2-mode, and the key exchange flags), but that reference is for the alpha track only. Google's PQC roadmap of August 11, 2026 lists Cloud VPN under 2026/2027 with a target of end of 2027. Confirm the current status with Google before treating any tunnel as protected against harvest-now, decrypt-later attacks.

Which gcloud track or version do I need for ML-KEM?

Only the alpha track exposes ML-KEM settings for VPN tunnels. The gcloud alpha compute vpn-tunnels create reference, checked December 4, 2026, includes the --pqc-phase1-mode and --pqc-phase2-mode flags, each accepting DISABLED or ENABLED, plus --pqc-phase1-key-exchanges and --pqc-phase2-key-exchanges, which accept KE_NONE, ML_KEM_768 and ML_KEM_1024 as semicolon-separated slots ke1 to ke7. The stable gcloud compute vpn-tunnels create reference has none of these flags. The sources do not say when or whether the flags will move to the stable track. Run gcloud components update and check gcloud alpha compute vpn-tunnels create --help in your own environment to confirm what your SDK version exposes.

Does the ML-KEM option cost extra on Cloud VPN?

The sources do not say whether the ML-KEM option carries any charge. The Cloud VPN release notes, checked December 4, 2026, contain no entry on post-quantum cryptography or ML-KEM, so no pricing change is recorded there. Confirm billing with Google before you plan the tunnel, including whether HA VPN tunnel and gateway charges change with the feature enabled, whether any change applies to Classic VPN, and whether the feature has a preview or support tier that affects your contract. Ask for the answer in writing, with the product and SKU names, so your cost model rests on a documented statement.

What breaks if I change the peer gateway vendor?

Changing the peer gateway changes the set of IKE and IPsec options both ends must agree on, and that is where tunnels fail. Cloud VPN supports IKEv1 and IKEv2, but IPv6 traffic requires IKEv2, and custom cipher options can be set only on IKEv2 tunnels and cannot be changed after creation. The default IKE version for the vpnTunnels REST resource and the gcloud --ike-version flag is 2. Cloud VPN supports only pre-shared key authentication, so a peer that expects certificates will not connect. Check that the peer supports one-to-one NAT with NAT-T, the 1460-byte MTU, the 4096-packet replay window, and the same Phase 1 and Phase 2 cipher and group choices. If the peer lacks ML-KEM support, a hybrid configuration on the Google side will not negotiate with it, so verify both ends before cutover.

What should I ask the vendor before I enable ML-KEM?

Ask Google, and separately the peer gateway vendor, a short set of questions that the sources leave open. For Google: whether ML-KEM on Cloud VPN is generally available or still in preview, which gateway types (HA VPN, Classic VPN) support it, the date it moves to the stable gcloud and console, whether the Phase 1 and Phase 2 hybrid modes interoperate with specific peer families, and the billing answer described above. Ask whether the default IKE cipher order change, which puts CURVE_25519 first and drops Diffie-Hellman group 22, has a date and whether it affects tunnels you already run. For the peer vendor: which ML-KEM parameter sets (768, 1024) they implement, whether their hybrid mode matches the Google slot order, and their release that adds it. Request written answers with dates.

Can my team test the pairing alone or do we need outside help?

A network team can test a single pairing without outside help if it has IKEv2 experience, lab access to both gateways, and a plan to capture and read IKE negotiation logs. Start with a non-production tunnel, set --pqc-phase1-mode and --pqc-phase2-mode to ENABLED, choose a key exchange such as ML_KEM_768 in the appropriate slot, and watch for negotiation failure, lifetime mismatch (Phase 1 36,000 seconds, Phase 2 10,800 seconds) or a PFS requirement mismatch. Outside help makes sense when the peer is a self-hosted or appliance gateway whose configuration you do not control, when you need a change record for an audit, or when many tunnels need the same settings. DeployOpen plans and deploys self-hosted network platforms inside the client's infrastructure, and its scope and deliverables are agreed in writing before work begins. Its engagements are fixed-scope, and no price is quoted here.

How the phase 1 and phase 2 negotiation decides the tunnel's key exchange

The negotiation starts when the Cloud VPN gateway and the peer gateway each offer their IKE phase 1 proposals. Before any post-quantum key exchange can be offered, the pqc-phase1-mode setting must be ENABLED on the tunnel, and the phase 1 key exchange slots must then name ML-KEM groups. If the peer does not accept an ML-KEM group, the negotiation falls back to a classical Diffie-Hellman group, and the tunnel carries no post-quantum protection in phase 1. Phase 2 then selects its PFS group the same way, so check both phases in the negotiated tunnel settings rather than assuming the first one applies to the second.

Phase 1 and phase 2 key exchange choices, with fallback to classical groups.

How DeployOpen helps plan and test Cloud VPN post-quantum changes

DeployOpen starts by fixing the peer gateway, the Cloud VPN gateway type and the IKE version for each tunnel, then tests whether hybrid key exchange can be negotiated end to end. The work is delivered as a written, fixed-scope engagement, with a test record your network team can review and rerun as the provider's documentation changes.

How we scope

  • Inventory each tunnel with its gateway type (HA VPN or Classic VPN), IKE version and peer vendor, as the written scope.
  • Confirm which peer gateways and firmware versions are in scope before any configuration is changed.
  • Record which cipher and key exchange settings each tunnel uses today, so the baseline is documented before testing.

How we build

  • Set up a test tunnel between Cloud VPN and a peer gateway in a non-production project to check negotiation.
  • Compare the stable gcloud reference with the alpha reference, and record which PQC flags the tested version accepts.
  • Test IKEv2 cipher options on both ends, noting that custom ciphers apply only to IKEv2 and cannot be changed after creation.

How we hand over

  • Deliver a written test report listing tested gateway types, IKE versions, cipher suites and the observed negotiation result.
  • Document the exact gcloud and REST settings that worked, dated to the day of testing, with the provider reference each one came from.
  • Flag any setting the provider has not documented for Cloud VPN, so your team can confirm it with Google Cloud before relying on it.

How we support

  • Support is available as a retainer, to rerun the tunnel tests when Google Cloud or the peer vendor changes its settings.
  • Re-check the release notes and cipher change notices on a schedule the client agrees, since the provider publishes changes without fixed dates.
  • Review the peer gateway's upgrade path with your team when the vendor publishes firmware that supports hybrid key exchange.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.