Dear Community,

I want to move some of our firewalls from Linux/iptables to FreeBSD/pf.

After reading man pf.conf for a couple of minutes I couldn't find the
realization of such iptables rule in pf:

iptables -t nat -A PREROUTING -i ethX -d ! my.smtp.server -p tcp --dport
25 -j DROP
iptables -t nat -A PREROUTING -i ethX -p tcp --dport 2525 -j DNAT
--to-destination :25

How it can be rewriting in pf.conf?

Thanks!

--
 Oleksandr Samoylyk
 OVS-RIPE

_______________________________________________
freebsd-pf@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to