aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export/openvpn-client-export.inc
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-01-27 12:05:32 -0800
committerJim P <jim@pingle.org>2013-01-27 12:05:32 -0800
commit5237f88d265add14defab58435192cf71d1c0d81 (patch)
tree9e9270816ad0ec8b72a9613251902ff125877cad /config/openvpn-client-export/openvpn-client-export.inc
parentcaaa718952fbb8c990049212a6d03c1f4a9f1136 (diff)
parent1f23382b5e88deb57af71a4c72ec514f9f8f93e2 (diff)
downloadpfsense-packages-5237f88d265add14defab58435192cf71d1c0d81.tar.gz
pfsense-packages-5237f88d265add14defab58435192cf71d1c0d81.tar.bz2
pfsense-packages-5237f88d265add14defab58435192cf71d1c0d81.zip
Merge pull request #365 from bcyrill/shared_export
Do not mix OpenVPN's secure modes
Diffstat (limited to 'config/openvpn-client-export/openvpn-client-export.inc')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc2
1 files changed, 1 insertions, 1 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']) {