How do I enable/disable my Iptables firewall?

To start IP tables on your RedHat server,
# service iptables start

You can run the following command to stop iptabes:
# service iptables stop

It is also important to save your iptables configuration so that it is loaded again on the next reboot. This can be done by running:

# service iptables save

You can also set the iptables program to start on boot by running:
# chkconfig iptables on

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Basic SSH Commands

First you need to log in to your server either as root or as a particular user account if you...

Checking CPU via SSH

1) Login to SSH 2) Run the command cat /proc/cpuinfo

Checking PHP Version via SSH

1) Login to SSH 2) Run the command php -v

Guaranteed Ram Vs Burst Ram

Guaranteed RAM is RAM that is always available to you and guaranteed. Burstable RAM means that...

How to upgrade Cpanel

Login to your WHM and follow whm > cPanel/WHM Updates Automatic (STABLE tree) cPanel Package...