Add IP Range - Azure Front Door WAF Custom Rule

Ashwin D 21 Reputation points


My requirement is to block all requests from a range of IP addresses.

This range of IP addresses will be added into a new custom rule.

However, I do not know the format in which an IP range can be added into the textbox (screenshot below)

I appreciate any help with this.


Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
498 questions
Azure Web Application Firewall
0 comments No comments
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 17,976 Reputation points Microsoft Employee

    Hello @Ashwin D , Welcome to the Microsoft Q&A forum.

    You have to add an IP range in CIDR format as shown below.


    If the IP address range you have cannot be added in a CIDR format, you can use AZ CLI or PowerShell to add list of IP addresses separated by space as documented here.


    If you do not have AZ CLI/PowerShell set-up in your local machine, you can use the Azure Cloud Shell via portal to run these commands.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

0 additional answers

Sort by: Most helpful