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)
- 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
- Online training on Linux Bash shell scripting - February 8, 2018
- 15 iostat command examples in Linux/Unix - December 4, 2017