captiveportal.inc: (re)add table 42 for whitelist
whitelist in firewall does not work...
This commit is contained in:
parent
9499ce395b
commit
888c4dddec
|
@ -586,6 +586,14 @@ EOD;
|
|||
|
||||
/* allowed ipfw rules to make allowed hostnames work */
|
||||
$cprules .= captiveportal_allowedhostname_configure();
|
||||
|
||||
/* allowed ipfw rules for univnautes whitelist */
|
||||
$cprules .= <<<EOD
|
||||
# accept every traffic from table 42 = univnautes whitelist
|
||||
add 65500 allow ip from any to table(42) in
|
||||
add 65501 allow ip from table(42) to any out
|
||||
table 42 flush
|
||||
EOD;
|
||||
|
||||
/* load rules */
|
||||
$cprules = "flush\n{$cprules}";
|
||||
|
|
Reference in New Issue