diff options
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 16 |
1 files changed, 12 insertions, 4 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 a7eefdf5fe..656aeedf9a 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -801,13 +801,21 @@ local knownParams = { "ncp_disable", 0, translate("This completely disables cipher negotiation") }, - { Value, + { DynamicList, "ncp_ciphers", - "AES-256-GCM:AES-128-GCM", + { + "AES-256-GCM", + "AES-128-GCM" + }, translate("Restrict the allowed ciphers to be negotiated") }, - { Value, + { DynamicList, "data_ciphers", - "CHACHA20-POLY1305:AES-256-GCM:AES-128-GCM:AES-256-CBC", + { + "CHACHA20-POLY1305", + "AES-256-GCM", + "AES-128-GCM", + "AES-256-CBC" + }, translate("Restrict the allowed ciphers to be negotiated") }, } } } |