How do I enable/disable my Iptables firewall?

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

    • Related Articles

    • How to install APF (Advanced Policy Firewall)

      What is APF (Advanced Policy Firewall)? APF Firewall APF is a policy based iptables firewall system designed for ease of use and configuration. It employs a subset of features to satisfy the veteran Linux user and the novice alike. Packaged in tar.gz ...
    • How do I disable Anonymous FTP?

      Anonymous FTP is disabled by default on all accounts. We can only set up anonymous FTP for a hosting account which has a dedicated IP for security reasons. If you connect to your domain via FTP anonymously you will not have access to any files on ...
    • Hardware Firewall configuration

      A Hardware Firewall is a network device that is connected upstream from a server. The Firewall blocks unwanted traffic from a server before the traffic ever reaches the server. The main advantage to having a Hardware Firewall is that a server only ...
    • Configure APF Firewall

      A firewall is a very good idea for a server. Though many people think that a firewall is instant protection that will do everything it really is not. A firewall will help prevent some things but it is not going to stop everything. It is just one ...
    • Can I load balance servers that are behind a firewall?

      Yes, in proxy mode your servers can live anywhere and as long as you can get to the real port you are load balancing, a firewall can be used with this service.