Forum Discussion
habib_Khan
Nimbostratus
Aug 18, 2016Irule to exempt redirection for connections from specific IP/range and redirect all other traffic to https
I am using below irule, my requirement is when request comes from specific set of IP or range of IP redirection should not happen and all other connections/requests should get
https redirection. Kin...
Stefan_Klotz
Cumulonimbus
Aug 18, 2016Hi Habib,
can you try it with this line?
if { ![class match [IP::client_addr] equals cdm_test_range] } {
I assume your DGL "cdm_test_range" is from type address.
Didn't you see any iRule/TCL error message in your logs, which could be helpful?
Another question: you mentioned that your poolmember is listening on port 443 only. Do you have a serverSSL profile then activated on your HTTP-VIP? Is access via both virtual servers (80 & 443) working in general without any iRule?
Ciao Stefan 🙂
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