For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

iRule's avatar
iRule
Icon for Cirrus rankCirrus
Aug 14, 2021

Block requests from specific domain to my web application

Dear Community,

I need to block all http & https requests initiating from a specific domain xyz.com to my web application abc.com . Please inform how we can acmmplish this from LTM iRule, LTM Policy or ASM Policy.

1 Reply

  • Hi iRule,

     

    with iRules it could be done with the commands RESOLV::lookup or NAME::lookup. However both commands have been deprecated in BIG-IP 15.1.

    Just a comment - if there is no PTR record for the xyz.com domain this way of blocking won't work.

     

    KR

    Daniel