This question already has an answer here:
- I am under DDoS. What can I do? 1 answer
IIRC the best way is to set up a firewall. But what are some easy solutions that doesnt require a lot of knowledge? I use nginx (but i hope the solution can be applied to lighttpd).
Would changing the timeout to something like 1 second and raising the connection amount be an adequate solution?
-edit- The pages served are static html pages as well as static content (images, css, js, etc). So CPU isn't an issue. I suspect bandwidth wont be. What can i do against DDOS attacks.