luci-app-openvpn: add tls_crypt_v2 option for openvpn 2.5

So far tls_crypt_v2 is working on openwrt, but the option is missing in
the gui. This patch adds the missing option.

Signed-off-by: Jerome Guidon <jerome.guidon@outlook.fr>
This commit is contained in:
Jerome Guidon 2021-10-10 14:41:10 +02:00
parent dc7144ffed
commit 8f3b9c90a8

View file

@ -750,6 +750,10 @@ local knownParams = {
"tls_crypt",
"/etc/openvpn/tlscrypt.key",
translate("Encrypt and authenticate all control channel packets with the key") },
{ Value,
"tls_crypt_v2",
"/etc/openvpn/servertlscryptv2.key",
translate("Encrypt and authenticate all control channel packets with the key, version 2.") },
-- { Value,
-- "askpass",
-- "[file]",