Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 7 down vote accepted

Iptables seems to be an easy/quick option:

$ iptables -I INPUT -s 1.2.3.4 -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

 
discard

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.