I'm looking for effective methods to block all traffic coming from a specific country. Are there different approaches I should consider depending on my hosting setup, especially if I'm using an IIS server on an Azure VM?
2 Answers
For those using Azure, implementing Geo-filtering with Azure Front Door or WAF is recommended. It allows you to easily restrict access based on geographic location.
To effectively block traffic, you want to do it as early as possible in the request lifecycle. Using Azure WAF (Web Application Firewall) or a comparable edge security solution is a solid move since it can filter requests before they hit your server.

That's a great point! WAF definitely helps with blocking unwanted traffic before it gets further into your infrastructure.