Jump to Navigation

201 - Disable firewall (iptable)

iptables is administration tool / command for IPv4 packet filtering and NAT.

The firewall serves as an antidote to access from unwanted connections. This facility is an important and commonly used in server
environments to restrict any ports that might be accessed, both internally and externally.

To disable the firewall on Red Hat Linux system and its derivatives (Fedora, CentOS, etc) :

As root user >

# service iptables save
# service iptables stop

If you want the firewall does not automatically run at boot time, give the following command :

# chkconfig iptables off


If the Linux system that is used would work as a server, much less accessible from the public IP addresses,
the firewall should be activated again after the testing process is completed, by providing an exception or allow the service / port related.



Main menu 2

Story | by Dr. Radut