How To

Disable iptables on RedHat

To disable iptables on a Red Hat server, you can use this command to save the current rules first:

[email protected] [/]# /etc/init.d/iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]

Then, this command turns off the firewall

[email protected] [/]# /etc/init.d/iptables stop
iptables: Setting chains to policy ACCEPT: nat mangle filte[ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]

You can also use this command to disable it when the server boots.

[email protected] [/]# chkconfig iptables off


Popular Posts
  • No Popular Post Available
Leave a Reply

Your email address will not be published. Required fields are marked *