advanced-policy-firewall
advanced-policy-firewall copied to clipboard
How add a NAT rule
Hello,
Sorry for my english, i m French. How add in APF a rule like that => iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
I dont know if it's possible... thanks for the answer.
hi , you can add the rule to /etc/apf/preroute.rules and then do a apf restart.
Thank you !