summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-22 15:26:47 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-22 15:26:47 +0000
commitfca39472782bdbd06722c053cb345de6a8f754bd (patch)
treef11a76956d82c04d631e7dd9f5a5e7af6336ad34 /etc/inc/captiveportal.inc
parent97edea16c28984e2444f0271655a7d6e43598264 (diff)
downloadpfsense-fca39472782bdbd06722c053cb345de6a8f754bd.zip
pfsense-fca39472782bdbd06722c053cb345de6a8f754bd.tar.gz
Fix the rule to actually match on multiple interfaces.
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 0047524..48f874a 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -340,10 +340,12 @@ EOD;
}
$cprules .= <<<EOD
+add 1000 set 1 skipto 1200 all from any to any not layer2 $cpif
# skip to traffic shaper if not on captive portal interface
-add 1000 set 1 skipto 50000 all from any to any not layer2 not $cpif
+add 1001 set 1 skipto 50000 all from any to any not layer2
+add 1003 set 1 skipto 1100 layer2 via $cpif
# pass all layer2 traffic on other interfaces
-add 1001 set 1 pass layer2 not $cpif
+add 1004 set 1 pass layer2
# layer 2: pass ARP
add 1100 set 1 pass layer2 mac-type arp
OpenPOWER on IntegriCloud