Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Jeff_Tuthill_10's avatar
Jeff_Tuthill_10
Icon for Nimbostratus rankNimbostratus
Aug 10, 2009

Pool Selection based on client domain name or IP address

So I think this may be an easy one but I am getting stuck on this. I have an application that I want to allow access to if the client has a certain domain name or is coming from a certain IP subnet...otherwise I want to discard the connection.

 

So far I have set up a Data Group with the allowed IP's and set up the irule as such:

 

when HTTP_REQUEST {

 

if { [matchclass [IP::client_addr] equals $::DATA_GROUP_NAME] } {

 

pool pool1

 

} else {

 

discard

 

}

 

}

 

This works fine for the IP addresses but how do I get the domain name working? So my scenario is:

 

Go to pool1 if you are from 10.10.10.0 or 10.10.11.0 or from *.example.com otherwise you get discarded.

 

7 Replies

No RepliesBe the first to reply