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 |
You can also use Serviceconf to activate
iptables. See the Section called Services Configuration Tool in Chapter 13.
You can not 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 |