Merge pull request #5430 from jeje42/feature/luci-app-openvpn-add-tls_crypt_v2-option
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 27 Oct 2022 11:19:41 +0000 (13:19 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Oct 2022 11:19:41 +0000 (13:19 +0200)
Add tls_crypt_v2 openvpn option to LuCI.

applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index 51fe606336a43cae7879abd351665b97702e4d9c..c8a83d21f7683554a54c1dd961539569e8eda182 100644 (file)
@@ -750,6 +750,10 @@ local knownParams = {
                        "tls_crypt",
                        "/etc/openvpn/tlscrypt.key",
                        translate("Encrypt and authenticate all control channel packets with the key") },
+               { Value,
+                       "tls_crypt_v2",
+                       "/etc/openvpn/servertlscryptv2.key",
+                       translate("Encrypt and authenticate all control channel packets with the key, version 2.") },
        --      { Value,
        --              "askpass",
        --              "[file]",