openbsd gurus,

can u please give me an idea on how can i redirect all unauthenticated
authpf users to a webpage?

and after authentication it can continue surfing the net.

my rules seems wont work for me.

/etc/pf.conf

rdr on $wifi_if proto { tcp, udp } from ! <authpf_users> to any port {
www, https } -> $authgate port www


pass in quick on $wifi_if proto { tcp, udp } from any to $authgate
port www keep state
anchor "authpf/*" in on $wifi_if


im running pf on openbsd 4.0.


thanks

Reply via email to