Forum Discussion
3 Replies
- Michael_Everet1Historic F5 Account
As you know, the Geo-filtering is policy wide. So, two options:
-
You can create a separate policy for this URL, and use iRule/TMOS policy to switch between the policies. Obviously, this requires additional work of maintaining two policies, but would be able to meet this requirement.
-
You can create a custom violation (assuming 11.5 or higher), and then use an iRule to inspect the specific URL, compare it to the Geo's you want for this URL, and if not in allowed list use the iRule to raise the custom violation.
Some resources: https://devcentral.f5.com/wiki/iRules.ASM__raise.ashx ; https://support.f5.com/kb/en-us/products/big-ip_asm/manuals/product/asm-implementations-11-5-0/38.html
- Dinesh_PandeyNimbostratusI will test & let you know.
-
- Dinesh_PandeyNimbostratus
Hi, I have test with Irule but getting issue, Now i achieve to redirect different ASM policy by Creating local traffic policy rules for ASM, Local Traffic > Policies select local traffic policy & Create rule for specific Path.
Thanks Team for support.