Activating the iptables Service


The firewall rules will only be active if the iptables service is running. To manually start the service, use the following command:

/sbin/service iptables restart

To ensure that iptables is started when the system is booted, issue the following command:

/sbin/chkconfig --level 345 iptables on

You can also use the Service Configuration Tool to activate iptables. To do so, see the Official Red Hat Linux Administrator’s Guide.

You cannot run the ipchains service along with the iptables service. To make sure the ipchains service is disabled, execute the following command:

/sbin/chkconfig --level 345 ipchains off




The Red Hat Documentation Team - Official Red Hat Linux User's Guide
The Red Hat Documentation Team - Official Red Hat Linux User's Guide
ISBN: N/A
EAN: N/A
Year: 2002
Pages: 223

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net