Revision 0f6fdf29
Added by Ermal Luçi over 15 years ago
etc/inc/captiveportal.inc | ||
---|---|---|
422 | 422 |
# redirect non-authenticated clients to captive portal |
423 | 423 |
add 1990 set 1 fwd 127.0.0.1,8000 tcp from any to any in |
424 | 424 |
# let the responses from the captive portal web server back out |
425 |
add 1991 set 1 pass tcp from any 80 to any out
|
|
425 |
add 1991 set 1 pass tcp from any to any 80 out
|
|
426 | 426 |
# block everything else |
427 | 427 |
add 1992 set 1 deny all from any to any |
428 | 428 |
|
... | ... | |
1104 | 1104 |
return false; |
1105 | 1105 |
} |
1106 | 1106 |
|
1107 |
?> |
|
1107 |
?> |
Also available in: Unified diff
Correct ipfw rule.