Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

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.

share|improve this question

marked as duplicate by HopelessN00b Jan 21 '15 at 16:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

@RichardKeller In short none of those links helped. Only one of those talked about a solution which was to ban ip address. Sure that doesnt require much knowledge but looking at ip address in log files by hand and banning it isnt an automatic solution. So once again none of those helped – acidzombie24 Jun 3 '12 at 0:23

CloudFlare seems to be the best solution against DDoS attacks and helps keep down bandwidth.

share|improve this answer
Good suggestion; pity the original question has been asked to death a million times before. – Richard Keller Jun 3 '12 at 0:08
@RichardKeller incorrect see my comment to you above. – acidzombie24 Jun 3 '12 at 0:23
+1. CouldFlare sounds interesting. But it appears i need pro before getting DOS protection, i dont know what it does and it appears it may be overkill if i simply want DDOS protection. Also i do not want CDN (long story short, if you dont want the ping to be short you dont need CDN) – acidzombie24 Jun 3 '12 at 0:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.