REDIRECTING using the NAT table

Greg Hennessy Greg.Hennessy at nviz.net
Sun Jun 25 07:09:19 UTC 2006


 
> Hi,
> 
> I am new to FreeBSD and PF but was wondering how I could do 
> using PF a rule from iptables on Linux.
> 
> The rule using iptables in Linux is:
> iptables -t nat -A PREROUTING -p udp --dport 3322 -j REDIRECT 
> --to-ports 3323
> 
> I would like to know how you perform the same operation using PF.
> 

http://www.openbsd.org/faq/pf/rdr.html



Greg



More information about the freebsd-pf mailing list