Can I block IP countries using a security group on an EC2 instance?

Is it possible to block the whole country from accessing my website in a security group rule in an Amazon EC2 instance instead of using iptables or something else?

+4
source share
1 answer

As others have noted, it’s difficult to block traffic from certain countries if someone is smart enough to use a proxy.

But you can use some simple ways to filter most traffic from a range of IP addresses (not all clients know how to use a proxy server)

- Network ACL aws. , AWA AWS Network ACLs.

, 53 , geolocation route policy -.

+4

All Articles