Add IP Range - Azure Front Door WAF Custom Rule

Ashwin D 21 Reputation points
2022-03-29T19:11:07.703+00:00

Hi,

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.

188082-image.png

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

Accepted answer
  1. ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
    2022-03-29T21:35:34.807+00:00

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

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

    187930-image.png

    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.

    188113-image.png

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.