[CentOS] iptables nat table rules

Tue Feb 8 18:36:44 UTC 2011
Carlos S <neubyr at gmail.com>

I am forwarding traffic on port 8080 to port 80 with following rule.
# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j
REDIRECT --to-port 80
# iptables-save

However, I am unable to add it directly in /etc/sysconfig/iptables. I
think it is used only for filter table and not nat table. So where do
nat table rules go?  Any help?

-
cs.