summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2022-10-27 13:19:41 +0200
committerGitHub <noreply@github.com>2022-10-27 13:19:41 +0200
commitaf5b5fbf094ac8ea65f5e47142c94c32cdee6920 (patch)
tree32c8fa13afe827e8582b79219c5cb7e9719a019b /applications/luci-app-openvpn/luasrc/model/cbi
parent60b910ae01f7e522c1176f597f16ed5d8dba2032 (diff)
parent8f3b9c90a89ae0b5567b6374ab4a49ff42a779db (diff)
Merge pull request #5430 from jeje42/feature/luci-app-openvpn-add-tls_crypt_v2-option
Add tls_crypt_v2 openvpn option to LuCI.
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model/cbi')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua4
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]",