Update openvpn-advanced.lua 6386/head
authoregc112 <63402314+egc112@users.noreply.github.com>
Sat, 13 May 2023 09:08:09 +0000 (11:08 +0200)
committerGitHub <noreply@github.com>
Sat, 13 May 2023 09:08:09 +0000 (11:08 +0200)
Add data-ciphers.

Signed-off-by: egc112 <63402314+egc112@users.noreply.github.com>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index 03ce38e9d2457f776d97952fe3035794db5a4a20..0dca521a0c1eafffafb916d0b714c581c2cd0fa3 100644 (file)
@@ -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") },
        } }
 }