--tls-groups directive in OpenVPN

Started by userfw, December 03, 2026, 06:40:11 PM

Previous topic - Next topic
Is it me or the --tls-groups config directive is not surfaced in the OpenVPN config GUI and thus unavailable after the removal of the custom config box?
This would be useful to test and deploy PQC key agreements that in theory are supported by both OpenSSL and OpenVPN.

While I understand the logic of sticking to sane defaults, the times we live in require cryptographic algorithmic agility.

Hi userfw,

I'm not an OPNsense developer and I haven't tested this. As far as I can tell from the docs I read, the OpenVPN instances no longer have a free-form "custom options" field and I couldn't find a dedicated field for tls-groups or ecdh-curve.

There are older requests about this in the core issue tracker, for example #6703 ("Custom options are no longer available..."), #6758 ("OpenVPN: Instances missing a few options") and #7519 ("VPN Hardening", where tls-groups and ecdh-curve are mentioned). I only read the titles and snippets, so I can't say if one of them is still open.

Since 26.7 ships OpenVPN 2.7 and OpenSSL 3.5, a field for the key exchange groups sounds technically possible, but it would need a change in OPNsense. The best way to ask is probably a GitHub feature request that references those issues.

Sergio
BoNet Tech — reti, sicurezza e QoS, spiegati bene.
Sito e servizi: bonet.tech

The thing is the client does negotiate PQC key agreements with the server, if configured to do so, it's just that you cannot force the server to offer only those, opening the way for downgrades.