Revision 5b0e0182
Added by Renato Botelho over 12 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
527 | 527 |
$rulenum++; |
528 | 528 |
/* Allowed ips */ |
529 | 529 |
$cprules .= "add {$rulenum} pipe tablearg ip from table(3) to any in\n"; |
530 |
$cprules .= "add {$rulenum} pipe tablearg ip from any to table(3) in\n"; |
|
530 | 531 |
$rulenum++; |
532 |
$cprules .= "add {$rulenum} pipe tablearg ip from table(4) to any out\n"; |
|
531 | 533 |
$cprules .= "add {$rulenum} pipe tablearg ip from any to table(4) out\n"; |
532 | 534 |
$rulenum++; |
533 | 535 |
|
Also available in: Unified diff
Consider CP allowed IPs for both directions. It will help ticket #2780