diff options
author | Jerome Guidon <jerome.guidon@outlook.fr> | 2021-10-10 14:41:10 +0200 |
---|---|---|
committer | Jerome Guidon <jerome.guidon@outlook.fr> | 2021-10-14 15:31:00 +0200 |
commit | 8f3b9c90a89ae0b5567b6374ab4a49ff42a779db (patch) | |
tree | a568b515bd374284189b32920feeee5f24ef8cf2 | |
parent | dc7144ffed312b70a141b564a6694afb1666a656 (diff) |
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>
-rw-r--r-- | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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]", |