IPtable is a firewall application by default installed in all the Linux flavors. It is having great capabilities in blocking and unblocking content. Some times it’s required to disable iptables to troubleshooting network related configurations. To disable iptables in Redhat/CentOS we have to use the following commands.
#service iptables stop
#service iptables save
#chkconfig iptables off
To be more meaning full way to stop iptables on all the run levels use below commands.
#chkconfig --level 123456 iptables off
If you want to remove iptables completly from system we can use rpm command to do this.
rpm -e iptables
Latest posts by Surendra Anne (see all)
- FREE: JOIN OUR DEVOPS TELEGRAM GROUPS - August 2, 2019
- Review: Whizlabs Practice Tests for AWS Certified Solutions Architect Professional (CSAP) - August 27, 2018
- How to use ohai/chef-shell to get node attributes - July 19, 2018
- wget download a file to a directory in Linux/Unix - June 4, 2018
- GIT: How to compare two GIT branches? - June 3, 2018