REDIRECTING using the NAT table

Kerry Jean jeankerry at hotmail.com
Sat Jun 24 23:28:54 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.

Any advice would be very appreciated.

Anthony


More information about the freebsd-pf mailing list