From 1f23382b5e88deb57af71a4c72ec514f9f8f93e2 Mon Sep 17 00:00:00 2001 From: bcyrill Date: Sun, 27 Jan 2013 20:56:12 +0100 Subject: Do not mix OpenVPN's secure modes --- config/openvpn-client-export/openvpn-client-export.inc | 2 +- config/openvpn-client-export/openvpn-client-export.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index 9e23d3ca..d79c42c3 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -725,7 +725,7 @@ function openvpn_client_export_sharedkey_config($srvid, $useaddr, $proxy, $zipco $conf .= "persist-key\n"; $conf .= "proto {$proto}\n"; $conf .= "cipher {$cipher}\n"; - $conf .= "client\n"; + $conf .= "pull\n"; $conf .= "resolv-retry infinite\n"; $conf .= "remote {$server_host} {$server_port}\n"; if ($settings['local_network']) { diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml index e71fa7ca..11659251 100755 --- a/config/openvpn-client-export/openvpn-client-export.xml +++ b/config/openvpn-client-export/openvpn-client-export.xml @@ -1,7 +1,7 @@ OpenVPN Client Export - 1.0.1 + 1.0.2 OpenVPN Client Export /usr/local/pkg/openvpn-client-export.inc -- cgit v1.2.3