summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-11-19 22:21:21 +0000
committerErmal Luçi <eri@pfsense.org>2008-11-19 22:21:21 +0000
commit2dcd206b8f7e67112606ad632ead91960c770bf2 (patch)
tree4fd497a5d6ff2025486d95e64381fbf1236111c8
parent71706710bb457acb00480e18cdef0de779eea3a3 (diff)
downloadpfsense-2dcd206b8f7e67112606ad632ead91960c770bf2.zip
pfsense-2dcd206b8f7e67112606ad632ead91960c770bf2.tar.gz
Add the quick keyword to allow configurations that have "Bypass traffic for local subnets to work". The only concern here is the traffic shaper which is not really well inline with this.
The other option is just make this a documentation so the user can create the rules itself!
-rw-r--r--etc/inc/filter.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 11f60ec..477442a 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2225,10 +2225,10 @@ EOD;
}
if ($sa) {
$ipfrules .= <<<EOD
-pass in on \${$oc['descr']} from {$sa}/{$sn} to {$route['network']} no state label "pass traffic between statically routed subnets"
-pass in on \${$oc['descr']} from {$route['network']} to {$sa}/{$sn} no state label "pass traffic between statically routed subnets"
-pass out on \${$oc['descr']} from {$sa}/{$sn} to {$route['network']} no state label "pass traffic between statically routed subnets"
-pass out on \${$oc['descr']} from {$route['network']} to {$sa}/{$sn} no state label "pass traffic between statically routed subnets"
+pass in quick on \${$oc['descr']} from {$sa}/{$sn} to {$route['network']} no state label "pass traffic between statically routed subnets"
+pass in quick on \${$oc['descr']} from {$route['network']} to {$sa}/{$sn} no state label "pass traffic between statically routed subnets"
+pass out quick on \${$oc['descr']} from {$sa}/{$sn} to {$route['network']} no state label "pass traffic between statically routed subnets"
+pass out quick on \${$oc['descr']} from {$route['network']} to {$sa}/{$sn} no state label "pass traffic between statically routed subnets"
EOD;
}
OpenPOWER on IntegriCloud