Disable a Firewall In Red Hat Enterprise Linux

last updated in Categories , , , , , , ,

Q. How do I disable a firewall in RedHat Enterprise Linux / RHEL?

A. A Linux firewall is an integrated collection of security measures designed to prevent unauthorized electronic access to a networked computer system. Red hat Linux kernel has firewall called iptables. It can be disabled by typing following command (login as root user):
# service iptables stop
To turn it on type the following command:
# service iptables start
To disable firewall permanently, enter:
# chkconfig iptables off
# service iptables stop

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

2 comment

    Have a question? Post it on our forum!