Forum Discussion
Redirect users accessing our app from a geo-blocked location to a URL which specifies the blocked response page to notify them that they are accessing from a geo blocked country
we have geo-location enforcement and IP intelligence enabled in our ASM against the app's ASM policy. we are trying to figure out a way on how we could redirect the users to a specific blocked response URL In case they access our app from a geo blocked country using an ASM irule.
appreciate if anyone could help me with that
Hi,
You should be able to achieve it using iRules. You can create Data Group of list of county codes that you want to block and apply that Data group in iRule. Once it is matched, you can redirect request to the required response URL.
You can refer below article and modify iRule as per your use case.
https://support.f5.com/csp/article/K43383890
Hope it helps!
Mayur
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com