Activating the iptables Service


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

/sbin/service iptables restart

To ensure that it is started when the system is booted, issue the command

/sbin/chkconfig --level 345 iptables on

You can also use Serviceconf to activate iptables. See Chapter 21. You cannot run the ipchains service along with the iptables service. To make sure the ipchains service is disabled, execute the command

/sbin/chkconfig --level 345 ipchains off




Official Red Hat Linux Administrator's Guide
Official Red Hat Linux Administrators Guide
ISBN: 0764516957
EAN: 2147483647
Year: 2002
Pages: 278
Authors: Red Hat Inc

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