CP ipfw fwd all non-authenticated clients' TCP connections to 127.0.0.1,8000?
dhatz last edited by
I noticed that in 2.0REL captiveportal.inc adds an ipfw rule to forward all un-authenticated clients' TCP connections to lighttpd listening on 127.0.0.1,8000
line #571 (in git it's currently line #613)
add 65531 set 1 fwd 127.0.0.1,8000 tcp from any to any in
Perhaps there would be a benefit to only forward tcp connections that are destined to port 80? e.g.
add 65531 set 1 fwd 127.0.0.1,8000 tcp from any to any 80 in