From 8f3b9c90a89ae0b5567b6374ab4a49ff42a779db Mon Sep 17 00:00:00 2001 From: Jerome Guidon Date: Sun, 10 Oct 2021 14:41:10 +0200 Subject: 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 --- applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'applications/luci-app-openvpn/luasrc/model/cbi') diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index 51fe606336..c8a83d21f7 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -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]", -- cgit v1.2.3