diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-11-20 16:01:20 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-12-03 09:54:03 +0100 |
commit | 675eb747aa1cb76d4d6e715728592974acac8cc1 (patch) | |
tree | 81cbb68b7a1b3c3eb6d5f275a8a4a23983b51d6a /package/network/services/openvpn/files/openvpn.options | |
parent | 966ba6daa430922e41ca7598385817f5a611c9c7 (diff) | |
download | upstream-675eb747aa1cb76d4d6e715728592974acac8cc1.tar.gz upstream-675eb747aa1cb76d4d6e715728592974acac8cc1.tar.bz2 upstream-675eb747aa1cb76d4d6e715728592974acac8cc1.zip |
openvpn: add list element parsing
For the parameters tls-cipher and ncp-ciphers more than one option can
be used in the OpenVPN configuration, separated by a colon, which should
be implemented as a list in order to configure it more clearly. By
adding the new OPENVPN_LIST option to the openvpn.options file with the
tls-cipher and ncp-cipher parameters, uci can now add this option as a
"list" and the init script will generate the appropriate OpenVPN
configuration from it.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'package/network/services/openvpn/files/openvpn.options')
-rw-r--r-- | package/network/services/openvpn/files/openvpn.options | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/network/services/openvpn/files/openvpn.options b/package/network/services/openvpn/files/openvpn.options index 6c084d22dc..a84959b847 100644 --- a/package/network/services/openvpn/files/openvpn.options +++ b/package/network/services/openvpn/files/openvpn.options @@ -68,7 +68,6 @@ mode mssfix mtu_disc mute -ncp_ciphers nice ns_cert_type ping @@ -117,7 +116,6 @@ status_version syslog tcp_queue_limit tls_auth -tls_cipher tls_crypt tls_timeout tls_verify @@ -190,3 +188,8 @@ up_delay up_restart username_as_common_name ' + +OPENVPN_LIST=' +tls_cipher +ncp_ciphers +' |