summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-02-27 11:26:47 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-02-27 11:26:47 -0300
commit5b0e0182c7fa2eb756a574fc7cca4dd0ea1de06a (patch)
treec37d2c87617badcabfa0b2b6e93008e9d614c47a /etc/inc/captiveportal.inc
parent9beebb5e54428ada74c902a091a6992f4583f370 (diff)
downloadpfsense-5b0e0182c7fa2eb756a574fc7cca4dd0ea1de06a.zip
pfsense-5b0e0182c7fa2eb756a574fc7cca4dd0ea1de06a.tar.gz
Consider CP allowed IPs for both directions. It will help ticket #2780
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 386a4ce..f9eb2d2 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -527,7 +527,9 @@ EOD;
$rulenum++;
/* Allowed ips */
$cprules .= "add {$rulenum} pipe tablearg ip from table(3) to any in\n";
+ $cprules .= "add {$rulenum} pipe tablearg ip from any to table(3) in\n";
$rulenum++;
+ $cprules .= "add {$rulenum} pipe tablearg ip from table(4) to any out\n";
$cprules .= "add {$rulenum} pipe tablearg ip from any to table(4) out\n";
$rulenum++;
OpenPOWER on IntegriCloud