pf between two lans

2009-07-12 Thread Aleksic Predrag
Hi all. I've got two networks setup. 192.168.0.x and 192.168.2.x and I have an freebsd firewall between the two. Problem is people on the 192.168.0.x and 192.168.2.x. cant talk to each other. tzarla...@192.168.2.248 $ ssh -p 22 -l tzarlazar 192.168.0.246 [r...@192.168.0.1 ~]# tcpdump -n -e -

Re: Extremely simple redirect rule doesnt appear to be working

2009-07-12 Thread Ronnel Maglasang
Tim Traver wrote: am I missing something ? Yes, I believe so. rdr works only for incoming traffic. To redirect outgoing traffic locally you need to re-route the traffic using the route-to option. Try these rules. -- rdr pass on lo0 inet proto tcp from any to 209.131.36.158 port 80 ->