diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 4f990f8..5609f75 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -380,9 +380,9 @@ EOD; $rulenum++; $cprules .= "add {$rulenum} set 1 pass udp from {$cpip} 67 to any 68 out \n"; $rulenum++; - $cprules .= "add {$rulenum} set 1 pass icmp from {$cpip} to any out icmptype 8\n"; + $cprules .= "add {$rulenum} set 1 pass icmp from {$cpip} to any out icmptype 0\n"; $rulenum++; - $cprules .= "add {$rulenum} set 1 pass icmp from any to {$cpip} in icmptype 0 \n"; + $cprules .= "add {$rulenum} set 1 pass icmp from any to {$cpip} in icmptype 8 \n"; $rulenum++; //# allow access to our DNS forwarder $cprules .= "add {$rulenum} set 1 pass udp from {$cpip} to any 53 in \n"; @@ -1104,4 +1104,4 @@ function portal_ip_from_client_ip($cliip) { return false; } -?> +?>
\ No newline at end of file |