Why setup command overwrites the existing iptables rules?
Issue
- Whenever iptables rules are configured using the setup command(setup-->firewall configuration). The existing iptables rules in the file
/etc/sysconfig/iptablesare over written.
Environment
- Red Hat Enterprise Linux 6
- iptables
- system-config-firewall
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
