git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
dc7144f
)
luci-app-openvpn: add tls_crypt_v2 option for openvpn 2.5
author
Jerome Guidon
<redacted>
Sun, 10 Oct 2021 12:41:10 +0000
(14:41 +0200)
committer
Jerome Guidon
<redacted>
Thu, 14 Oct 2021 13:31:00 +0000
(15:31 +0200)
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 <redacted>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
patch
|
blob
|
history
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 51fe606336a43cae7879abd351665b97702e4d9c..c8a83d21f7683554a54c1dd961539569e8eda182 100644
(file)
--- 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]",
git clone https://git.99rst.org/PROJECT