summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-01 11:56:44 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-01 11:56:44 +0000
commit55f5c311c870711bcb88499ac477d7e512356535 (patch)
tree0c92a36d975f1145da7106d524e7d5c8bfc38423 /etc
parent5940e017298f111aa8157e746e9813e4557d88f3 (diff)
downloadpfsense-55f5c311c870711bcb88499ac477d7e512356535.zip
pfsense-55f5c311c870711bcb88499ac477d7e512356535.tar.gz
Remove duplications.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc14
1 files changed, 2 insertions, 12 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 1be5952..3b7fc2b 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -328,6 +328,8 @@ add 1100 set 1 pass layer2 mac-type 0x88c7
add 1100 set 1 pass layer2 mac-type 0x8863
# PPP Over Ethernet Session Stage
add 1100 set 1 pass layer2 mac-type 0x8864
+# Allow WPA
+add 1100 set 1 pass layer2 mac-type 0x888e
# layer 2: block anything else non-IP
add 1101 set 1 deny layer2 not mac-type ip
@@ -363,23 +365,11 @@ EOD;
$cprules .= <<<EOD
add 1304 set 1 pass tcp from any to $cpip 8001 in
add 1305 set 1 pass tcp from $cpip 8001 to any out
-add 1306 set 1 pass tcp from any to $lanip 8001 in
-add 1307 set 1 pass tcp from $lanip 8001 to any out
EOD;
}
$cprules .= <<<EOD
-#PPPoE Discovery Stage
-add 1100 set 1 pass layer2 mac-type 0x8863
-#PPPoE Session Stage
-add 1100 set 1 pass layer2 mac-type 0x8864
-
-EOD;
-
- $cprules .= <<<EOD
-# Allow WPA
-add 1100 set 1 pass layer2 mac-type 0x888e
# ... 10000-19899: rules per authenticated client go here...
OpenPOWER on IntegriCloud