summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model
diff options
context:
space:
mode:
authoregc112 <63402314+egc112@users.noreply.github.com>2023-05-13 11:08:09 +0200
committerGitHub <noreply@github.com>2023-05-13 11:08:09 +0200
commitdac9cd58f8ace348adc756ea52d4dd5a2e699709 (patch)
treee262a116b7c05f4eb3ec85d4419b2b8a65acacfd /applications/luci-app-openvpn/luasrc/model
parente6c3364a73001a7fda42d5504aabeb20fca12dbc (diff)
Update openvpn-advanced.lua
Add data-ciphers. Signed-off-by: egc112 <63402314+egc112@users.noreply.github.com>
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model')
-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 03ce38e9d2..0dca521a0c 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -798,6 +798,10 @@ local knownParams = {
"ncp_ciphers",
"AES-256-GCM:AES-128-GCM",
translate("Restrict the allowed ciphers to be negotiated") },
+ { Value,
+ "data_ciphers",
+ "CHACHA20-POLY1305:AES-256-GCM:AES-128-GCM:AES-256-CBC",
+ translate("Restrict the allowed ciphers to be negotiated") },
} }
}