How To Disable Iptables Firewall In Redhat/CentOS Linux

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 its 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


Show your love by sharing this..!
Share on VKShare on StumbleUponShare on YummlyPrint this pageFlattr the authorShare on TumblrEmail this to someoneBuffer this pageShare on Google+Share on LinkedInShare on FacebookTweet about this on TwitterPin on PinterestShare on RedditDigg this
The following two tabs change content below.
My name is Surendra Kumar Anne. I hail from Vijayawada which is capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. I work with ICE systems, Sydney as Sr. Consultant. You can contact me at surendra (@) linuxnix dot com.
  • Laith

    And once you want to remove it from the system:
    #rpm -e iptables

  • drexciya

    #chkconfig –level 123456 iptables off
    should be
    #chkconfig -–level 123456 iptables off
    Apart from that it works fine.