Revision a64c15d8
Added by Chris Buechler over 15 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
380 | 380 |
$rulenum++; |
381 | 381 |
$cprules .= "add {$rulenum} set 1 pass udp from {$cpip} 67 to any 68 out \n"; |
382 | 382 |
$rulenum++; |
383 |
$cprules .= "add {$rulenum} set 1 pass icmp from {$cpip} to any out icmptype 8\n";
|
|
383 |
$cprules .= "add {$rulenum} set 1 pass icmp from {$cpip} to any out icmptype 0\n";
|
|
384 | 384 |
$rulenum++; |
385 |
$cprules .= "add {$rulenum} set 1 pass icmp from any to {$cpip} in icmptype 0 \n";
|
|
385 |
$cprules .= "add {$rulenum} set 1 pass icmp from any to {$cpip} in icmptype 8 \n";
|
|
386 | 386 |
$rulenum++; |
387 | 387 |
//# allow access to our DNS forwarder |
388 | 388 |
$cprules .= "add {$rulenum} set 1 pass udp from {$cpip} to any 53 in \n"; |
... | ... | |
1104 | 1104 |
return false; |
1105 | 1105 |
} |
1106 | 1106 |
|
1107 |
?> |
|
1107 |
?> |
Also available in: Unified diff
correct icmptypes so CP IP can be pinged