diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-26 02:51:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-26 02:51:18 +0000 |
commit | c25a575f1dba3140afc769eb9946e2e40895d86b (patch) | |
tree | 3d7f1249259804fa1ac559a5478e95bdc98f06df /etc | |
parent | 3fdb04a65df0448cf91037839ba5fe52af8f4cde (diff) | |
download | pfsense-c25a575f1dba3140afc769eb9946e2e40895d86b.zip pfsense-c25a575f1dba3140afc769eb9946e2e40895d86b.tar.gz |
Remove auto establish. It's never worked.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 6439890..e72a994 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -552,21 +552,6 @@ EOD; /* start racoon */ mwexec("/usr/local/sbin/racoon -f {$g['varetc_path']}/racoon.conf"); - - usleep(100); - - if (is_array($ipseccfg['tunnel'])) { - foreach ($ipseccfg['tunnel'] as $tunnel) { - if (isset($tunnel['auto'])) { - $remotehost = substr($tunnel['remote-subnet'],0,strpos($tunnel['remote-subnet'],"/")); - $srchost = vpn_endpoint_determine($tunnel, $curwanip); - if ($srchost) { - log_error("Bringing ipsec tunnel up with ping -c 10 -S {$srchost} {$remotehost}"); - mwexec_bg("/sbin/ping -c 10 -S {$srchost} {$remotehost}"); - } - } - } - } } } |