tool · OpenVPN community project · https://openvpn.net/community/

Is OpenVPN post-quantum?

Partially

Confidentiality Partial

  • Partial VPN tunnel (TLS mode)
  • Opt-in Control channel encryption with a pre-shared key (tls-crypt)

Authentication Unknown

Not researched yet

Community-maintained. Last verified 2026-12-04. Edit this entryReport a problem

OpenVPN uses the key exchange of its TLS library. Built with OpenSSL 3.5 or later on both ends, it negotiates hybrid ML-KEM key exchange without extra configuration, unless you set tls-groups.

PQ support also depends on: OpenSSL.

VPN tunnel (TLS mode)

The control channel runs a TLS handshake. OpenVPN derives the data channel keys from this TLS session, so the tunnel is post-quantum when the TLS key exchange is.

Confidentiality Partial

Algorithms
X25519MLKEM768
On by default
Yes
Conditions
Only when both peers use OpenSSL 3.5 or later and tls-groups is unset or lists a post-quantum group.

OpenVPN keeps the TLS library's default groups unless you set tls-groups. Setting it replaces the whole list, so add X25519MLKEM768 to it if you use it. Builds with wolfSSL support ML-KEM only when you list a post-quantum group in tls-groups. Builds with Mbed TLS accept no post-quantum group names in tls-groups.

  1. 2.7.02026-02-11Post-quantum key exchange for builds with wolfSSL, through tls-groups.

Sources: OpenVPN 2.7.10 sets TLS groups only when `tls-groups` is configured (src/openvpn/ssl.c) · OpenVPN 2.6.23 sets TLS groups only when `tls-groups` is configured (src/openvpn/ssl.c) · OpenVPN 2.7.0 README.wolfssl · OpenVPN 2.7.10 group names for Mbed TLS (src/openvpn/ssl_mbedtls.c) · OpenVPN Changes.md (2.7.10) · OpenSSL 3.5 release notes

Authentication Unknown

We don't know this yet. Know the answer? Add it on GitHub with a source.

Control channel encryption with a pre-shared key (tls-crypt)

tls-crypt and tls-crypt-v2 encrypt and authenticate all control channel packets with a symmetric key shared in advance, on top of TLS.

Confidentiality Opt-in

On by default
No, needs configuration

The manual calls this "poor-man's" post-quantum security. It protects the TLS handshake only from attackers who never learn the pre-shared key, with no forward secrecy. It does not replace the TLS key exchange. All clients share one tls-crypt key. tls-crypt-v2 (since 2.5) gives each client its own key.

Sources: OpenVPN 2.7.10 manual: --tls-crypt and --tls-crypt-v2 (doc/man-sections/tls-options.rst) · OpenVPN Changes.md (2.7.10)

Machine-readable: /api/openvpn.json