Forum Discussion
Jarek_Twardowsk
Nimbostratus
Feb 08, 2017"IRULE" using IP and FQDN
Hello, I have question on “irule” for whitelisting.
Currently we’re using IP as source or destination and that is working correctly as mechanism for directing traffic towards bypass path.
The questio...
svs
Cirrostratus
Feb 08, 2017Just add a datagroup containing the hostnames and use [HTTP::host] as additional match condition in your "if".
if { not (([class match [IP::client_addr] equals $static::source_ip_proxy_bypass_RD1_dg]) || ([class match [IP::local_addr] equals $static::destination_ip_proxy_bypass_RD1_dg]) || ([class match [HTTP::host] equals $static::destination_fqdn_proxy_bypass_dg])) }
I didn't test this, but it should work.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects