Why while starting iptables service following error is thrown "Applying iptables firewall rules: iptables-restore: line X failed" ?
Issue
- Some customer
iptables rulesare configured in the file. While restarting theiptablesservices, getting error asiptables-restore: line X failed [FAILED] - Iptables service is not getting started and throwing error as below:
root@HOSTNAME ~]# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
[root@HOSTNAME ~]# service iptables start
Applying iptables firewall rules: iptables-restore: line X failed
[FAILED]
[root@HOSTNAME ~]#
Environment
- Red Hat Enterprise Linux (Any version)
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.
