summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-08-18 06:52:38 +0000
committerErmal <eri@pfsense.org>2014-08-18 06:52:38 +0000
commit3b68ec45c7a03e16f37fa49e7438f99471f0a15f (patch)
treed692b7406cf1fc5f8c9efa4869d30a1656b10fd3
parent8bb47a4625e05ed98394d2d6baa18fc05b889cf9 (diff)
downloadpfsense-3b68ec45c7a03e16f37fa49e7438f99471f0a15f.zip
pfsense-3b68ec45c7a03e16f37fa49e7438f99471f0a15f.tar.gz
Restore behaviour as with racoon to trigger tunnel startup from traffic that needs to go into the tunnel. Even related to Ticket #3806.
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 3be02d2..06ebcb1 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -533,9 +533,10 @@ EOD;
continue;
$keyexchange = "ikev1";
+ $passive = "route";
if (!empty($ph1ent['iketype']) && $ph1ent['iketype'] != "ikev1") {
$keyexchange = "ikev2";
- $passive = "start";
+ //$passive = "start";
} else
$passive = "route";
OpenPOWER on IntegriCloud