summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-06-12 01:45:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-06-12 01:45:19 +0000
commitbcd92a924da4205e019991793aba51bddc5bf1ee (patch)
treeb6aeda157395ad5b524e6e593a58eb8cfd4d45f7 /etc/inc/captiveportal.inc
parent45b199566b44d7a8019cb5ed8aebdef9eb756a94 (diff)
downloadpfsense-bcd92a924da4205e019991793aba51bddc5bf1ee.zip
pfsense-bcd92a924da4205e019991793aba51bddc5bf1ee.tar.gz
Allow WPA + Captive Portal to work. Amazing its taken this long to discover the problem.
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index d8f44a5..1807451 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -308,6 +308,9 @@ function captiveportal_rules_generate() {
$cprules .= "add 30 set 1 skipto 50000 all from any to any in via {$int} keep-state\n";
}
+ /* Needed for WPA */
+ $cprules .= "add 1 set 1 allow all from any to any layer2";
+
/* captive portal on LAN interface? */
if ($cpifn == "lan") {
/* add anti-lockout rules */
OpenPOWER on IntegriCloud