What's new

tls-crypt-v2 for openvpn server?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Jaime Alvarez

Regular Contributor
I don't see the option to add a tls-crypt-v2 key to the openvpn server. Is this just a GUI limitation or the OpenVPN version in AsusWRT Merlin does not allow it?

I'm not even sure if this is recommended or not, just playing around with hardening my setup.
 
I don't see the option to add a tls-crypt-v2 key to the openvpn server. Is this just a GUI limitation or the OpenVPN version in AsusWRT Merlin does not allow it?

I'm not even sure if this is recommended or not, just playing around with hardening my setup.
It's been a while since I implemented it, but I think the key needs to go in the Static Key field.

EDIT: Based on the Changelog, I think I only implemented tls-crypt-v2 support for clients, not for servers.
 
Thank you. This explains it then.

I did try putting it in the Static Key field and I got the following error (in the system log) : "Insufficient key material or header text not found in file 'static.key' (0/128/256 bytes found/min/max)"
 
Thank you. This explains it then.

I did try putting it in the Static Key field and I got the following error (in the system log) : "Insufficient key material or header text not found in file 'static.key' (0/128/256 bytes found/min/max)"
If you absolutely want to use tls-crypt-v2, you might be able to do so by manually configuring things in the Custom field, and storing the key in a file stored in /jffs/openvpn/ .

I think at the time I decided not to implement it because it was involving a lot of work due to the need to generate both the public and private keys.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top