How to set up NAT?

Mark Sobell marksobell at gmail.com
Thu Jun 20 03:08:30 UTC 2013


Using iptables I set up NAT as follows.
How would I do the same under firewalld?
Thanks!

            Mark

# iptables -A FORWARD -i eth0 -o eth1 -m state --state
ESTABLISHED,RELATED -j ACCEPT
# iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
# iptables -A FORWARD -j LOG
# iptables -t NAT -A POSTROUTING -o eth0 -j MASQUERADE


More information about the firewalld-users mailing list