aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/openvpn/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-08 18:12:02 +0000
committerJohn Crispin <john@openwrt.org>2016-03-08 18:12:02 +0000
commit0ca70716324d88e5e8b956035ee71cc1b32bda8d (patch)
tree7c8b2af8f13b1bffe08d9c44e6b6e210b24566f9 /package/network/services/openvpn/files
parent1b9985cfe294ab1140450732884c4d6ad4b91e7d (diff)
downloadupstream-0ca70716324d88e5e8b956035ee71cc1b32bda8d.tar.gz
upstream-0ca70716324d88e5e8b956035ee71cc1b32bda8d.tar.bz2
upstream-0ca70716324d88e5e8b956035ee71cc1b32bda8d.zip
openvpn: add support for X.509 name options
x509-username-field was added in OpenVPN 2.2, and verify-x509-name was added in 2.3. This fixes ticket #18807. Signed-off-by: Jeffery To <jeffery.to@gmail.com> SVN-Revision: 48969
Diffstat (limited to 'package/network/services/openvpn/files')
-rw-r--r--package/network/services/openvpn/files/openvpn.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index 342e5d8c70..5396d0bf47 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -124,6 +124,7 @@ start_instance() {
socks_proxy status status_version syslog tcp_queue_limit tls_auth \
tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \
tun_mtu tun_mtu_extra txqueuelen user verb down push up \
+ verify_x509_name x509_username_field \
ifconfig_ipv6 route_ipv6 server_ipv6 ifconfig_ipv6_pool ifconfig_ipv6_push iroute_ipv6
openvpn_add_instance "$s" "/var/etc" "openvpn-$s.conf"