Buzz Moschetti
Buzz Moschetti

Reputation: 7578

AWS EC2 deny http/https access to specific IPs via CLI

Periodic review of ssl_access https logs reveals more than a few pesky vulnerability probers out there. I wish to specifically block these inbound IPs in a programmatic way, e.g. aws ec2 authorize-security-group-ingress or similar. There is plenty of material describing how to restrict access to a few known IPs but I cannot seem to find anything that describes permitting all except a handful (perhaps a dozen or so).

Upvotes: 0

Views: 100

Answers (1)

Mark B
Mark B

Reputation: 200562

You can't do that with security groups. Your options are:

Upvotes: 1

Related Questions