Turn off or disable firewall permanently under Linux

In this blog, you’ll learn how to turn off or disable firewall permanently under Linux / Fedora / Red Hat Enterprise Linux and CentOS.
 
iptables is the administration tool/command for IPv4 packet filtering and NAT. You need to use the following tools:
[a] service is a command to run a System V init script. It is used to save/ stop/start firewall service.
[b] chkconfig command is used to update and queries run level information for system service. It is a system tool for maintaining the /etc/rc*.d hierarchy. Use this tool to disable firewall service at boot time. Turn off or disable firewall permanently under Linux

How Do I Disable Firewall in Linux?

First login as the root user.
Next enter the following three commands to disable the 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

This is how you can turn off or disable the firewall permanently under Linux.


Thanks for reading this article, you will also like:

IBM AIX SysAdmin Activities

how to add linux host to nagios monitoring server

Change ulimit values permanently for a user or all user in Linux

Basic Linux Storage Scenario #4