In part 1 and “DDOS attack solution part 2” , we have understand the DDOS attack and initial protection by using the normal iptable rule but if still DDOS attack is running then refer to the following URL and install the CSF firewall as it allows to block the SYNFLOOD easily.
Login in to the shell as a root user and install CSF fireall.
cd usr/localsrc/
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
Now open the CSF firewall configuration file /etc/csf/csf.conf and enable the SYNEFLOOD protection.
To check all the csf config option refer to the following URL
http://www.configserver.com/cp/csfdemo/config.html
For further DDOS attack solution check the “DDOS attack solution part 4”