How to disable Firewall on RHEL / CentOS / RedHat Linux

How do I turn off or disable firewall permanently under RHEL / Fedora Linux / Red Hat Enterprise Linux and CentOS Linux?

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

You need to use the following tools:

 

First login as the root user.

Next enter the following three commands to disable firewall.
# service iptables save
# service iptables stop
# chkconfig iptables off

If you are using IPv6 firewall, enter:
# service ip6tables save
# service ip6tables stop
# chkconfig ip6tables off


  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Adding a range/block of ips

As an example to add a /24 253 ips to a linux server follow these setups. We'll use...

Find Out DNS Server IP Address

How do I find out my DNS server IP address assiged my my ISP under Unix or Linux operating system...

How to Check VPS Memory/RAM Usage with SSH

There are a few tools built-in to most Linux distros for gauging and fine-tuning your...

cPanel: Unactive License File

cPanel may spit out a "Unactive License File" error when new IP addresses or added or when your...

What is a VPS ?

VPS stands for Virtual Private Servers. VPS is an isolated server that share the hardware of a...

Powered by WHMCompleteSolution