Open-source alternatives to commercial quantum-safe VPN products

Open-source tunnels and gateways can be set against commercial quantum-safe VPN products, but each route shifts build, configuration and upkeep work onto your engineers.

On this page

What open-source alternatives to a quantum-safe VPN product are

If a commercial quantum-safe VPN product is on your shortlist, the open-source alternatives are VPN daemons and tunnel tools that can be configured to use post-quantum key exchange, and that you run on your own infrastructure. The main candidates are strongSwan, an IPsec implementation maintained by the strongSwan Project under GPLv2 with commercial licensing options, OpenVPN, an open-source VPN daemon from OpenVPN Inc. under GPL-2.0, Rosenpass, a key exchange tool that supplies a pre-shared key to WireGuard and is licensed MIT OR Apache-2.0, and Libreswan, an IPsec implementation listed under GPLv2. Each project owns its own claims, so read the owner's documentation for every option you consider. Nothing on this page ranks these options, and the list is not exhaustive.

Post-quantum support differs a great deal between these projects, so the first task is to confirm what each one documents. strongSwan 6.0.0 added ML-KEM with the keywords mlkem512, mlkem768 and mlkem1024 alongside RFC 9370 multiple key exchanges, but it needs a crypto backend such as Botan 3.6.0 or later, wolfSSL 5.7.4 or later, or AWS-LC 1.37.0 or later, and the choice of backend is a build decision for your engineers. OpenVPN's tutorial documents tls-groups "X25519MLKEM768" for OpenVPN 2 on Linux, and it requires OpenSSL 3.5 or newer on both the server and the client. The Libreswan homepage lists release 5.4.2 but does not mention ML-KEM or RFC 9370, so you should ask the project directly whether it supports these before you plan around it.

Two cautions apply before you commit. The IETF draft for ML-KEM in IKEv2, draft-ietf-ipsecme-ikev2-mlkem-09, is an Internet-Draft with intended status Proposed Standard and an expiry date, so its details may change. It also says ML-KEM-768 and ML-KEM-1024 messages sent in IKE_SA_INIT can exceed typical path MTUs and cannot be IKEv2 fragmented, so implementations should not use them there over UDP when the path MTU is unknown or restricted. Rosenpass's repository states that a cryptographic proof of security is still being worked on, and that it offers a ProVerif symbolic analysis. Ask each project for its current interoperability record with your own peers and check the versions you intend to run.

Which open-source VPN and tunnel projects document post-quantum support

This table compares six open-source VPN and tunnel projects on owner, license, latest release as the project lists it, platforms, and what each project documents about ML-KEM or hybrid key exchange. Read the last column as the project's own statement, then confirm the version, build and crypto backend you run before relying on it. None of these projects publishes a price, and the license is the only licensing term each one states.

ProjectOwner and licenseLatest release and platformsWhat it documents about ML-KEM or hybrid key exchange
strongSwanstrongSwan Project. GPLv2, with commercial licensing options6.1.0, listed 2026-09-07. Linux kernels 2.6 through 6.x, plus Android, FreeBSD, macOS, iOS and Windows portsVersion 6.0.0 adds RFC 9370 multiple key exchanges and ML-KEM keywords mlkem512, mlkem768 and mlkem1024. It needs a crypto backend such as Botan 3.6.0 or later, wolfSSL 5.7.4 or later, or AWS-LC 1.37.0 or later
OpenVPNOpenVPN Inc. GPL-2.0v2.7.10 on the GitHub releases page, dated 02 Dec with no year shown. Platform list not restated here, so check the project's documentationThe OpenVPN tutorial says to add tls-groups X25519MLKEM768 to the profile for OpenVPN 2 on Linux, and requires OpenSSL 3.5 or newer on server and client
RosenpassRosenpass project, hosted under the rosenpass GitHub organization. MIT OR Apache-2.00.2.3, created 3 August 2026, per crates.io. Platforms not stated in the sources reviewedUses liboqs and offers a ProVerif symbolic analysis. The repository says a cryptographic proof of security is still being worked on
WireGuard with RosenpassWireGuard protocol, with Rosenpass supplying the pre-shared key layerWireGuard's own primitives are Curve25519, ChaCha20 with Poly1305 and BLAKE2s. Release details for the combined setup are not stated in the sources reviewedWireGuard documents an optional pre-shared key, the hook Rosenpass uses. Confirm the combined setup against each project's own docs
NetBirdNetBird. License not stated in the sources reviewedEmbedded Rosenpass server since v0.25.4. Deprecated since v0.82.0. Turn on with netbird up --enable-rosenpassDocuments Rosenpass as an embedded option, but marks it deprecated from v0.82.0. Check the current NetBird docs before planning around it
LibreswanLibreswan project. GPLv25.4.2, per the Libreswan homepage. Platforms not stated in the sources reviewedThe homepage does not mention ML-KEM or RFC 9370. Confirm post-quantum support directly with the project before assuming it

What each project's documentation says it does

strongSwan is an open-source IPsec implementation maintained by the strongSwan Project, licensed under GPLv2 with commercial licensing options. Its homepage lists version 6.1.0 as of 2026-09-07 and says it runs on Linux kernels 2.6 through 6.x, with ports to Android, FreeBSD, macOS, iOS and Windows. The 6.0.0 release notes describe support for RFC 9370 multiple key exchanges and for ML-KEM under the keywords mlkem512, mlkem768 and mlkem1024. Examples in that release use a keX_ prefix, where X runs from 1 to 7.

  • RFC 9370 multiple key exchanges: the 6.0.0 release says it adds this mechanism, which lets additional key exchanges run alongside the initial Diffie-Hellman exchange.
  • ML-KEM keywords: the release lists mlkem512, mlkem768 and mlkem1024 as the proposal keywords.
  • Crypto backend choice: ML-KEM needs Botan 3.6.0 or later, wolfSSL 5.7.4 or later, AWS-LC 1.37.0 or later through the openssl plugin, or the new ml plugin, so the build choice belongs to your engineers.
  • Platform coverage: the homepage lists Linux, Android, FreeBSD, macOS, iOS and Windows, along with a NetworkManager plugin and an Android app.

Check which backend your build includes and confirm the ML-KEM keywords against the exact version you deploy.

How the IKEv2 ML-KEM draft and RFC 9370 relate to IPsec options

Post-quantum key exchange in IPsec rests on two documents with different standing. RFC 9370, "Multiple Key Exchanges in the Internet Key Exchange Protocol Version 2 (IKEv2)", is a Proposed Standard dated May 2023. It defines seven Additional Key Exchange transform types, ADDKE1 to ADDKE7, so that up to seven extra key exchanges can be negotiated on top of the initial (EC)DH exchange. It is the mechanism that lets a post-quantum algorithm run alongside classical Diffie-Hellman rather than replacing it. The companion draft, draft-ietf-ipsecme-ikev2-mlkem-09, was published on 5 July 2026 as an IPSECME working group Internet-Draft with intended status Proposed Standard. It expires on 6 January 2027. Until it is published as an RFC, it is a draft and not a standard, and your engineers should treat its details as subject to change.

The draft assigns Key Exchange Method numbers 35 to ML-KEM-512, 36 to ML-KEM-768 and 37 to ML-KEM-1024. It uses the RFC 9370 mechanism so that ML-KEM can be negotiated in IKE_INTERMEDIATE, CREATE_CHILD_SA or IKE_FOLLOWUP_KE messages. For the IKE_SA_INIT exchange, the draft gives a specific warning: ML-KEM-768 and ML-KEM-1024 messages could exceed typical path MTUs and cannot be IKEv2 fragmented, so implementations SHOULD NOT use them in IKE_SA_INIT over UDP where the path MTU is unknown or restricted. In practice, a team enabling ML-KEM on a tunnel that crosses a constrained or unknown path should plan to negotiate it in IKE_INTERMEDIATE and test the handshake across that path before relying on it. Confirm the MTU with a real test on the path, not an assumption.

Interoperability between implementations must be confirmed for the versions in use. The draft and RFC 9370 describe the negotiation, but the code points, fragmentation behavior and key exchange ordering still depend on what each product implements. Vendor validation is one useful signal: Cloudflare's changelog of 30 April 2026 reports that Cisco and Fortinet were validated to interoperate with Cloudflare IPsec for post-quantum key agreement, using ML-KEM-768 or ML-KEM-1024 negotiated in IKE_INTERMEDIATE alongside Diffie-Hellman Group 20, on Cisco 8000 Series Secure Routers with IOS XR Release 26.1.1 or later and on FortiOS 7.6.6 or later. That is a dated statement about those products and versions only. For an open-source route such as strongSwan 6.0.0, which adds RFC 9370 and ML-KEM keywords, your team should run its own interoperability tests against the peers it actually uses.

How the open-source options fit into a tunnel and where the evaluation path runs

The diagram starts with two IPsec gateways running strongSwan or Libreswan, where an ML-KEM key exchange can be added in IKE_INTERMEDIATE under RFC 9370 alongside the classical Diffie-Hellman exchange. A second path shows a WireGuard tunnel whose optional pre-shared key is supplied by Rosenpass. The OpenVPN branch uses the TLS handshake with a tls-groups setting, which needs OpenSSL 3.5 or newer on both ends. Check which key exchange your peer actually negotiates, confirm the library versions on both ends, and confirm the path MTU before relying on ML-KEM-768 or ML-KEM-1024 in IKE_SA_INIT.

Three open-source tunnel paths and the check an engineer runs against each.

Which situations each open-source route fits

Each open-source route below is documented for a different kind of tunnel, and each carries different requirements on your engineers. The cards set out the documented conditions for each route so you can match a route to your environment before comparing it against a commercial product.

IPsec site-to-site gateways

Site-to-site IPsec gateways that need post-quantum key exchange depend on an IKEv2 stack that supports RFC 9370, which allows multiple key exchanges beyond the initial Diffie-Hellman exchange. strongSwan 6.0.0 documents this support and ML-KEM keywords such as mlkem768. ML-KEM also needs a crypto backend, such as Botan 3.6.0 or later, wolfSSL 5.7.4 or later, or AWS-LC 1.37.0 or later, so check which backend your build uses. The IETF draft for ML-KEM in IKEv2 is still an Internet-Draft, so confirm your peers negotiate the same method numbers.

strongSwan 6.0.0 notes

Remote-access tunnels on OpenVPN 2

For remote-access tunnels, OpenVPN's tutorial documents a hybrid key exchange when you add tls-groups "X25519MLKEM768" to the profile. This route needs OpenSSL 3.5 or newer on both the server host and the client, so older client builds will not negotiate it. Treat this as a configuration you test on each client platform, since the tutorial describes the Linux setup. Check your own client fleet before relying on the setting for remote staff.

OpenVPN PQC tutorial

WireGuard with a pre-shared key hook

WireGuard documents an optional pre-shared key, and Rosenpass uses that hook to add post-quantum key material on top of WireGuard's own primitives. WireGuard's base primitives are Curve25519, ChaCha20 with Poly1305 and BLAKE2s, so the post-quantum layer is an addition, not a replacement. Rosenpass is MIT OR Apache-2.0 and publishes a penetration test report, but its authors state that a cryptographic proof of security is still in progress. Ask your engineers to review that status before treating this route as a settled design.

Rosenpass latest version
0.2.3
WireGuard protocol

Vendor appliances with Cloudflare IPsec

Some vendor appliances already interoperate with Cloudflare IPsec for ML-KEM key agreement. Cloudflare's changelog of 30 April 2026 names Cisco and Fortinet, using ML-KEM-768 or ML-KEM-1024 negotiated in IKE_INTERMEDIATE alongside Diffie-Hellman Group 20. The listed versions are IOS XR Release 26.1.1 or later on Cisco 8000 Series Secure Routers and FortiOS 7.6.6 or later. If your team already runs these appliances, confirm the exact firmware against that changelog rather than assuming the interop holds on other models.

Cloudflare changelog

How to evaluate an open-source VPN before you commit engineering time

This sequence tells you whether an open-source tunnel can carry ML-KEM key exchange on your own paths and endpoints, and what your team would have to keep running afterward. Each step ends with a recorded result, so the decision rests on evidence from your own estate rather than on a product page. The output is a go or no-go with a named owner for upkeep.

  1. Inventory your tunnels and endpoints

    List every VPN tunnel, site-to-site link and remote-access endpoint your organization runs, with the device or host that terminates each one, its current IKE or TLS version, and the path it crosses. Note whether each endpoint is a Linux host, a router or a vendor appliance, because that decides which open-source project can run there at all. The step is done when every tunnel in scope has one row in the inventory and an owner is named for each endpoint. Tunnels that cannot be upgraded should be flagged now, since they will shape the rest of the evaluation.

  2. Pick the crypto backend and library versions

    For each candidate project, read its documentation for the crypto library it needs and the minimum version of that library. For strongSwan 6.0.0, ML-KEM needs Botan 3.6.0 or later, wolfSSL 5.7.4 or later, AWS-LC 1.37.0 or later through the openssl plugin, or the ml plugin, and your engineers choose among these at build time. For OpenVPN 2 on Linux, the tutorial says OpenSSL 3.5 or newer is needed on both server and client. Record the chosen backend and exact version for each host, because a mismatch here is the most common reason a test fails.

  3. Test ML-KEM negotiation in a mirrored lab

    Build a lab that matches production MTU, path length and NAT behavior, and run each candidate tunnel with ML-KEM enabled on both ends. The IETF draft for ML-KEM in IKEv2 says ML-KEM-768 and ML-KEM-1024 messages in IKE_SA_INIT can exceed typical path MTUs and cannot be IKEv2 fragmented, so test with the exchange placed in IKE_INTERMEDIATE or CREATE_CHILD_SA, and confirm that the handshake completes over the actual paths you run. Record the result for each tunnel: completed, fell back, or failed. Include a case where the path MTU is restricted so you can see the failure mode before it reaches production.

  4. Record the key exchange actually negotiated

    After each handshake, capture the key exchange that both peers agreed on, not the one listed in the configuration file. A configuration can offer ML-KEM while the peers settle on classical Diffie-Hellman, so read the negotiated proposal from the daemon's logs or status output and store it next to the test result. Check that both ends report the same exchange and the same ML-KEM parameter set. The step is done when every tunnel in the lab has a logged negotiated value that you have compared against the intended one.

  5. Read release notes and open issues for your version

    For the exact version you intend to deploy, read the project's release notes and its open issue tracker for items touching key exchange, MTU handling, fragmentation and the crypto backend you picked. Note any known interoperability problems with the vendor appliances or other peers in your estate. Where the project publishes no post-quantum notes for a version, record that the sources do not cover it and do not assume it is supported. The output is a short list of known issues with a decision on each: accept, work around or block.

  6. Confirm interoperability with your other peers

    Test the candidate tunnel against each non-open-source peer you must reach, such as a firewall or router from a commercial vendor, because a tunnel that works between two open-source hosts may not negotiate with a vendor appliance. Cloudflare's changelog of 30 April 2026 reports that Cisco and Fortinet were validated to interoperate with its IPsec service using ML-KEM-768 or ML-KEM-1024 on specific software releases, so check the release your appliance runs against any such validation. Record the peer, its software version and the result of each test.

  7. Document the upkeep owner and update cadence

    Name the person or team who will track upstream releases, apply library and project updates, rerun the lab tests after each change and answer for failures in production. Write down how often you will review the project's release notes and where security advisories will be received. Record that this role is recurring, since open-source tunnels need continued maintenance and the cost of that work is staff time, not a licence fee. The step is done when the owner has accepted the role in writing and the update procedure is stored with the test records.

What the licenses allow and what no project publishes about price

The first question for a team weighing these projects is what the license allows, because that decides whether you can run the software, change it and ship it inside your own products. strongSwan is licensed under the GPLv2, and its homepage states that commercial licensing options are also available, so a team that needs terms different from the GPL should ask the strongSwan Project directly about those options. OpenVPN is published under GPL-2.0 by OpenVPN Inc. Libreswan's homepage lists its release 5.4.2 under GPLv2. Rosenpass is dual-licensed MIT OR Apache-2.0, which is the most permissive of the set, and the NetBird license is not stated in the sources supplied for this page, so confirm it in the NetBird repository before you plan around it. Have your legal or compliance team review how a GPLv2 component sits in your distribution model, particularly if you modify it or bundle it with proprietary code.

No source supplied for this page publishes a price for support or for a commercial edition of any of these projects, so the sources list no cost for those routes. Where a vendor offers commercial terms, as strongSwan says it does, the cost is set by a quote, and you should ask for the scope, support level and renewal terms in writing. Do not treat the absence of a published price as a sign that a project is free to operate. The recurring cost of running any of them is your own: the engineering time to build, configure and patch the software, the hosting and test environments you run it in, and the testing needed to show it behaves as expected. Those costs grow with the number of sites, tunnels and crypto backends your team maintains, so estimate them from your own inventory rather than from a license fee.

What to ask a project maintainer or support provider before you build on it

Which key exchanges and ML-KEM parameter sets are tested for my version?

Ask the maintainer to name the exact key exchange methods and ML-KEM parameter sets (ML-KEM-512, ML-KEM-768, ML-KEM-1024) that the release you plan to run has been tested with, and the test evidence behind that claim. The answer depends on the version and the crypto backend. strongSwan 6.0.0, for example, documents ML-KEM keywords (mlkem512, mlkem768, mlkem1024) but needs Botan 3.6.0 or later, wolfSSL 5.7.4 or later, AWS-LC 1.37.0 or later, or its ml plugin. Ask which backend the tested build used, and confirm the same combination on your own build. Do not assume a parameter set listed in the documentation has been tested end to end.

Is hybrid mode with X25519 the default in this release?

Ask whether the default configuration negotiates a hybrid key exchange, such as X25519 combined with ML-KEM, or whether a post-quantum method must be enabled by hand. OpenVPN's tutorial for OpenVPN 2 on Linux adds tls-groups "X25519MLKEM768" to the profile, which means that setting is a configuration step your engineers need to make and check. Ask the maintainer to confirm the default for each component, and to show the negotiated group in a test connection. Also ask whether a classical-only fallback is still allowed, and how the configuration blocks it if your policy forbids it.

What is the release and security advisory process?

Ask how new releases are announced, how security fixes are disclosed, and how quickly a fix for a reported vulnerability is published. Ask for the channel you should subscribe to, the policy for coordinated disclosure, and whether there is a published security contact. For open-source projects, check the release history on the project's own page, such as the OpenVPN GitHub releases page or the strongSwan homepage, rather than relying on a summary. A paid support provider should state in writing its response commitments and who on its side receives advisories. If a provider cannot name these, treat that as an open risk in your planning.

Has a third-party penetration test or formal analysis been published, and when?

Ask whether an independent penetration test or a formal analysis of the protocol or implementation has been published, with its date and scope. Ask what version the test covered, because a report on an earlier release says little about the one you will run. Rosenpass's site links a penetration test report, and its repository describes a ProVerif symbolic analysis while noting that a cryptographic proof of security is still being worked on. Read each report's scope and date for yourself. Ask the maintainer whether a newer test is planned and when, and whether any findings from earlier tests are still open.

How was interoperability with my existing endpoints verified?

Ask which peer implementations and versions the project has tested against, and whether that testing covered the endpoint models, firmware and operating systems you run. Interoperability between implementations is not automatic: RFC 9370 defines multiple key exchanges, and the IETF draft for ML-KEM in IKEv2 is still an Internet-Draft, with the expiry date given in its header. Ask whether the maintainer's tests used the same draft version as your endpoints. Cloudflare's changelog of 30 April 2026 reports that Cisco and Fortinet were validated for ML-KEM interoperation with Cloudflare IPsec on specific software releases. Your own interoperability test against your actual endpoints remains necessary.

What does a paid support engagement cover, and what does it cost?

Ask the provider to list what the support fee covers, such as configuration help, upgrade assistance, advisory monitoring, incident response, and testing against your endpoints, and what it leaves to your team. Cost components usually include a recurring support fee, one-time integration work, and the staff time your engineers spend on upgrades and testing. Ask which of these are one-time and which recur, and what drives each up or down, such as the number of sites, endpoints or tunnels. Request a quote tied to a written scope. Any published price should be checked against the provider's current listing, since the sources listed on this page do not give support pricing for these projects.

Can my team run this ourselves, or do we need outside help?

Ask what your engineers must do to deploy, configure, patch and test the product, and which steps need specialist knowledge. For strongSwan, that includes choosing and building a crypto backend that supports ML-KEM. For OpenVPN, it includes ensuring the server host and client run OpenSSL 3.5 or newer. For Rosenpass, it means integrating its pre-shared key hook with WireGuard. Ask the maintainer or provider to estimate the skills your team needs and the time an initial deployment takes, and to state that estimate in writing. Your own pilot is the best check on whether your team can keep the product current.

What licence terms apply, and do they change if we use it commercially?

Ask for the exact licence that applies to the release and edition you plan to use. strongSwan is GPLv2 with commercial licensing options, OpenVPN is GPL-2.0, and Rosenpass is MIT OR Apache-2.0. Ask whether commercial use of your deployment, including modifications and redistribution in your products, triggers any obligation under the licence, and whether the project offers a separate commercial licence. Ask your counsel to review the answer, since the terms relevant to your use may differ from the summary here.

How DeployOpen helps teams plan, configure and test self-hosted VPN components

DeployOpen works with your team to scope, build, test and hand over self-hosted open-source VPN components, such as strongSwan, OpenVPN and Rosenpass, inside your own infrastructure. Each engagement starts with a written scope that states which protocol, version and key exchange your team will run and how it will be verified.

How we scope

  • Confirm which open-source VPN component your team will run, and the exact version and license it ships under.
  • Record the key exchange methods in scope, such as ML-KEM alongside existing Diffie-Hellman groups, and the crypto backend each one requires.
  • Agree the written scope, deliverables and timeline before work starts, with ongoing support available as a retainer.

How we build

  • Deploy the chosen component in your cloud account, data center or air-gapped network, with the crypto library version it depends on.
  • Configure hybrid key exchange and the TLS or IKEv2 settings your engineers need, and confirm peers negotiate the expected groups.
  • Test interoperability with the peers you actually run, including MTU and fragmentation behavior for larger key exchange messages.

How we hand over

  • Document the configuration, the build options, and the exact versions your team deployed and tested.
  • Provide a record of the tests run, the results observed and any open items your engineers should confirm before production.
  • Walk your engineers through operating the component, including upgrade paths and what to recheck when a dependency changes.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Retest configuration after vendor or project updates, so changes to supported groups are caught before they reach production.
  • Prepare supporting evidence for your compliance assessment, while independent auditors remain responsible for any audit report.

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.