Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

My EC2 (Fedora AMI) based service is being heavily hit by a rogue misconfigured client. What options do I have to block the IP of this rogue client?

share|improve this question
up vote 8 down vote accepted

Iptables seems to be an easy/quick option:

$ iptables -I INPUT -s -j DROP
share|improve this answer
nice little command, thanks – Jirapong Oct 19 '11 at 16:40

You could also use the EC2 security groups to control access, although that's more appropriate if you want to restrict access to a specific IP range rather than blocking a particular address or range.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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