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?

link|improve this question

60% accept rate
feedback

2 Answers

up vote 5 down vote accepted

Iptables seems to be an easy/quick option:

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

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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