authpf.
Kian Mohageri
kian.mohageri at gmail.com
Fri May 26 10:42:43 PDT 2006
Authpf puts authenticated users in a table. You can then handle all of that
traffic to your liking. TYou can have a rule which redirects only certain
HTTP connections to your web server.
rdr pass on $wi_if inet proto tcp from ! <authpf_users> to any port www ->
($wi_if)
That should get you started. Keep in mind your wireless clients might not
be able to resolve the addresses of any of those in the first place. If
they can't resolve the names to addresses, they'll just fail without being
redirected to your web server.
Kian
On 5/26/06, Peter Ankerstål <peter at pean.org> wrote:
>
> I am using authpf for my wifi-network. But I want to redirect all of the
> http-traffic to a webserver to show a "error message" when not
> authenticated via authpf. But how to "remove" this rule when I
> authenticate? As far as I know authpf just adds rules to the ruleset.
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>
More information about the freebsd-pf
mailing list