(This article introduces the common attack methods of ddos, and uses iptables to protect against ddos ??attacks. The role of the script protection is still very good, you can simulate the attack, and then use the script protection to try the effect.
Types of ddos ??attacks and iptables defense against ddos ??scripts.pdf)