Thursday, February 20, 2014

How to disable firewall in centos

A firewall is a software or hardware-based network security system that controls the incoming and outgoing network traffic by analyzing the data packets and determining whether they should be allowed through or not, based on applied rule set, To disable the firewall in centos follow the steps below.

*Note disabling firewall can make your server more vulnerable for threats like D-DOS Attack or hacking.
  • SSH server as root user
  • Run the command below to Disable firewall for IPv4.
  • service iptables stop
  • Now remove the iptables from the run level so that it automatically does not start after rebooting the system.
  • chkconfig iptables stop
  • Run the command below to Disable firewall for IPv6.
  • service ip6tables stop
  • Now remove the iptables from the run level so that it automatically does not start after rebooting the system.
  • chkconfig ip6tables stop

2 comments:

Alex said...

Good to see you have mentioned adverse effect too.

Unknown said...

Thanx Alex... :)

Post a Comment

Do Write about the Blog and Welcome to the world where open source is every thing :-)