[luci-app-openvpn] Added support for tls-crypt option.

Closes #1340

Signed-off-by: Vladimir Ulrich <admin@evl.su>
This commit is contained in:
Vladimir Ulrich 2017-10-10 02:40:21 +03:00
parent 2d011a5e97
commit bd7eff9a63
4 changed files with 13 additions and 0 deletions

View file

@ -685,6 +685,10 @@ local knownParams = {
"tls_auth", "tls_auth",
"/etc/openvpn/tlsauth.key", "/etc/openvpn/tlsauth.key",
translate("Additional authentication over TLS") }, translate("Additional authentication over TLS") },
{ Value,
"tls_crypt",
"/etc/openvpn/tlscrypt.key",
translate("Encrypt and authenticate all control channel packets with the key") },
-- { Value, -- { Value,
-- "askpass", -- "askpass",
-- "[file]", -- "[file]",

View file

@ -31,6 +31,9 @@ msgstr "Add route after establishing connection"
msgid "Additional authentication over TLS" msgid "Additional authentication over TLS"
msgstr "Additional authentication over TLS" msgstr "Additional authentication over TLS"
msgid "Encrypt and authenticate all control channel packets with the key"
msgstr "Encrypt and authenticate all control channel packets with the key"
msgid "Allow client-to-client traffic" msgid "Allow client-to-client traffic"
msgstr "Allow client-to-client traffic" msgstr "Allow client-to-client traffic"

View file

@ -33,6 +33,9 @@ msgstr "Добавить маршрут после установки соеди
msgid "Additional authentication over TLS" msgid "Additional authentication over TLS"
msgstr "Дополнительная аутентификация через TLS" msgstr "Дополнительная аутентификация через TLS"
msgid "Encrypt and authenticate all control channel packets with the key"
msgstr "Шифровать и аутентифициоровать ключом все пакеты канала управления"
msgid "Allow client-to-client traffic" msgid "Allow client-to-client traffic"
msgstr "Разрешить общение клиентов друг с другом" msgstr "Разрешить общение клиентов друг с другом"

View file

@ -19,6 +19,9 @@ msgstr ""
msgid "Additional authentication over TLS" msgid "Additional authentication over TLS"
msgstr "" msgstr ""
msgid "Encrypt and authenticate all control channel packets with the key"
msgstr ""
msgid "Allow client-to-client traffic" msgid "Allow client-to-client traffic"
msgstr "" msgstr ""