Forum Discussion
Jinshu
Cirrus
Oct 21, 2015Is it possible to write an Irule for SSL exception based on IP address?
Hello,
is it possible to write an irule for except the traffic from specefic source address to pass it with out SSL?
I have an VIP configured with SSL offloading and http to https redirect...
Oct 21, 2015
Something like this?
when HTTP_REQUEST {
if { [IP::addr [IP::client_addr] ne 10.55.22.22] } {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
} else {
pool http_pool
}
}
Add this to the virtual server listening on port 80 and replace http_pool with the name of the pool you want to use.
/Patrik
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