Hello All,

I bet this subject has come up a couple of times. But searching through
the previous threads i could not find a working solution for me.

I recently compiled pf/altq in FreeBSD 5.1 to see how it runs. I am trying
to set up so that all traffic comming from 192.168.0.2 is routed to
192.168.0.1.

My default route points to tun0 and 192.168.0.0/30 sits on tun1.

in FreeBSD's ipfw i do:
ipfw add fwd 192.168.0.1 ip from 192.168.0.0/30 to any via tun0 (this works fine)

in PF i do:
pass out quick on tun0 route-to (tun1 192.168.0.1) from 192.168.0.0/30 to any

This does not work.. I reall dislike ipfw and would like to get the whole
system working on PF.

Thanks alot
Mark Bojara

Reply via email to