Merge pull request #6386 from egc112/egc112-openvpn-advanced-lua
authorPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 02:55:27 +0000 (03:55 +0100)
committerPaul Donald <newtwen@gmail.com>
Mon, 4 Dec 2023 22:39:01 +0000 (23:39 +0100)
openvpn-advanced.lua request to add OpenVPN data-ciphers

(cherry picked from commit 1c5ebc2a0c635130bd4f86f65dce29a686eb24c4)

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") },
        } }
 }