diff options
author | Vladimir Ulrich <admin@evl.su> | 2017-10-10 02:40:21 +0300 |
---|---|---|
committer | Vladimir Ulrich <admin@evl.su> | 2017-10-10 02:40:21 +0300 |
commit | bd7eff9a6386be5b04fa8fb98ac50bcbb033ce63 (patch) | |
tree | aa627112b1383a716e683d8972bf5ac134e0ee7e /applications/luci-app-openvpn/luasrc/model | |
parent | 2d011a5e9794ddb7e001e7bc2bda15c2942b0db5 (diff) |
[luci-app-openvpn] Added support for tls-crypt option.
Closes #1340
Signed-off-by: Vladimir Ulrich <admin@evl.su>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model')
-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 7865881cb6..dc7718217c 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -685,6 +685,10 @@ local knownParams = { "tls_auth", "/etc/openvpn/tlsauth.key", translate("Additional authentication over TLS") }, + { Value, + "tls_crypt", + "/etc/openvpn/tlscrypt.key", + translate("Encrypt and authenticate all control channel packets with the key") }, -- { Value, -- "askpass", -- "[file]", |