Application gateway enabled WAF with geo-restriction

Rahul 0 Reputation points
2024-08-26T13:38:50.29+00:00

Hi Team,

I have implemented Azure application gateway with WAF enabled. I have added a custom rule and applied Geo restriction via RemoteAddr match variable. The issue is the countries which I have allowed If some travel to those countries from outside which means on roaming number, then also the geo restriction rule is blocking them. Could you please help quickly how to allow those and handle such case.

Thanks

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,048 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 25,841 Reputation points Microsoft Employee
    2024-08-26T22:13:05.6966667+00:00

    @Rahul Thank you for reaching out.

    In Azure WAF Geo-filtering works based on mapping each request's IP address to a country or region. Even if the cell phone device is in roaming mode the Public IP address it gets should still be local address (i.e the Public IP address of the country where the device is currently located).

    Given your observation, can you share requested details in a private message here?

    Meanwhile, this issue can also be related to cache, if possible you can ask the user to delete browser cache on the device or try using a different browser and see if the issue gets resolved. Thanks!

    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.