13.3. Activating the iptables Service

The firewall rules will only be active if the iptables service is running. To manual 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

The ipchains service can not be run along with the iptables service. To make sure the ipchains service is disabled, execute the command:

/sbin/chkconfig --level 345 ipchains off

The Services Configuration Tool can be used to configure the iptables and ipchains services. See Section 14.3 Services Configuration Tool for details.