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)
- Docker: How to copy files to/from docker container - June 30, 2020
- Anisble: ERROR! unexpected parameter type in action:
Fix - June 29, 2020 - 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