This how to needs more work as it fails to run. the how to states: Code: Edit this file(type in gedit first :)) /etc/init.d/firewall.iptables Enter in this code As root enter in this command chown root:root /etc/init.d/firewall.iptables chmod 700 /etc/init.d/firewall.iptables but the code is right at the bottom of the page not where it should be. (it just needs moving up i think) the other problem is when you try to run Code: /etc/init.d/firewall.iptables start you get the error: Code: "firewall: No configuration file found at /etc/firewall/firewall.conf.iptables; " I am running on a CentOS 5.5 machine with IPTables installed. I have tried to copy over my iptables file from Code: /etc/sysconfig/iptables to the /etc/firewall/firewall.conf.iptables but i get a lot of errors about the script. Maybe the script should have a config file that is not documented here? any advice very welcome as i would like to use a more secure script to try to stop ddos attacks. regards
Thanks Falko, I figured it out Via Google. I was missing a lot of files by the looks of it. I found a site with some sample configs on it and configured them (well best i could) to get it running. The firewall folder is non existant on Centos systems, so there were no files in there at all. So i created firewall.conf.iptables, nat.iptables, banned.iptables etc. Thanks for a great how to though - helped me get on my way. Cheers.