Greetings:
We are considering switching from Bastille's management of iptables to APF.
One of the features Bastille has is the ability to have bastille automatically run shell scripts (pre and post), and we use that feature to set up dnat to allow alternate ports to our mail server.
The base command is as follows:
iptables -t nat -A PREROUTING -p tcp --dport 2525 -i eth0 -j DNAT --to [our mail server ip without brakets]:25
Maybe I missed something, but I cannot find an area in /etc/apf where to set up the above command.
Is this something APF can do? If so, where and how?
Thank you.