Unable to block my website in specific countries with Azure WAF custom rulea

Copper Contributor
Hi All,
Recently I got a requirement from my client to block the access of the website from specific countries. I've gone through lot of documentation over the Internet and found that we can use restrict access by blocking IP ranges and Azure WAF custom rules. I've created custom rules because I had to block almost 60 countries. But that is not working somehow. Can anyone help me on this?
1 Reply
ou can create Custom rules to suit the exact needs of your applications and security policies and restrict access to your web applications by country/region. To create a geo-filtering custom rule, select Geo-location as the Match Type, and then select the country you want to allow/block from your application. Ref this URL for more details https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/geomatch-custom-rules