WAF policy IP address or range

Humberto Garcia 0 Reputation points
2025-05-15T20:01:21.86+00:00

Are there any limitations on the IP lists associated with IoCs? For example, today we have a list of more than 7,500 IPs reported by the SOC, which we are blocking on security devices.

Regards. Humberto G

Azure Web Application Firewall
{count} votes

1 answer

Sort by: Most helpful
  1. Ganesh Patapati 8,760 Reputation points Microsoft External Staff Moderator
    2025-05-15T21:14:00.5166667+00:00

    Hello Humberto Garcia

    It sounds like you have a pretty substantial list of IP addresses that you're managing for your WAF policy. There are a few important things to consider regarding the limitations and configurations for IP lists in Azure Web Application Firewall (WAF).

    The limit of WAF IP address ranges per match condition is:

    • 540 with CRS 3.1 or lower
    • 600 with CRS 3.2 or newer

    User's image

    Refer: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-application-gateway-limits

    Maximum WAF custom rules that can be configured in a WAF is 100.

    And WAF IP address ranges per match condition is 600.

    So, that gives you a total of 60000 IP address ranges.

    NOTE: This limit is same for both Application gateway WAF and Azure Front Door WAF.

    If one custom rule already has 600 IP addresses/ranges, you can create another custom rule and add the new IPs/ranges.

    One IP range is considered as 1 entry. And you can add 600 IP ranges in one custom rule. But you need to make sure that none of the address ranges has overlapping IP addresses and all the ranges have unique IP addresses.


    Hope the above answer helps! Please let us know do you have any further queries.

    Please do consider to “Up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

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.