summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-05 21:23:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-05 21:23:52 +0000
commitcf2a8b89859919006af93d70a36758d2a062a867 (patch)
tree02386397c4fb3f2fdec1cf7b0f6d60d700535aef /etc
parent50a911e55ec8174dfccc6930086030530d6444b3 (diff)
downloadpfsense-cf2a8b89859919006af93d70a36758d2a062a867.zip
pfsense-cf2a8b89859919006af93d70a36758d2a062a867.tar.gz
Use correct internal subnet
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 6f5d194..a402a5c 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1905,8 +1905,8 @@ EOD;
$ipfrules .= "pass quick on " . $wanif . " proto ah from " . $ipsec_ip . " to " . $remote_gateway . " keep state label \"IPSEC: ". $tunnel['descr'] ." ah proto\"\n";
$ipfrules .= "pass quick on " . $wanif . " proto ah from " . $remote_gateway . " to " . $ipsec_ip . " keep state label \"IPSEC: ". $tunnel['descr'] ." ah proto\"\n";
- $ipfrules .= "pass quick on " . $lanif . " from " . $tunnel['remote-subnet'] . " to " . $internal_subnet . " keep state label \"IPSEC: " . $tunnel['descr'] ."\"\n";
- $ipfrules .= "pass quick on " . $lanif . " from " . $internal_subnet . " to " . $tunnel['remote-subnet'] . " keep state label \"IPSEC: " . $tunnel['descr'] ."\"\n";
+ $ipfrules .= "pass quick on " . $lanif . " from " . $tunnel['remote-subnet'] . " to " . $tunnel['local-subnet']['address'] . " keep state label \"IPSEC: " . $tunnel['descr'] ."\"\n";
+ $ipfrules .= "pass quick on " . $lanif . " from " . $tunnel['local-subnet']['address'] . " to " . $tunnel['remote-subnet'] . " keep state label \"IPSEC: " . $tunnel['descr'] ."\"\n";
}
}
OpenPOWER on IntegriCloud