First, flush all these rules temporarily, as we discussed above.
# iptables –flush
Next, save the current iptables (which is empty, as we just flushed it) to the /etc/sysconfig/iptables file for permanent use using ‘service iptables save’
# service iptables save
Saving firewall rules to /etc/sysconfig/iptables: [ OK ]