Forum Discussion
rmelissari_1209
Nimbostratus
Jun 06, 2013Is there an irule to check which member in a pool a client is connecting to?
Is there a way to check which member in the pool the load balancer has selected for a client to connect to in an irule? We are starting to enable SSL between the F5 and our servers, and would like t...
Kevin_Stewart
Employee
Jun 06, 2013Here's a simple static example:
when LB_SELECTED {
if { [IP::addr [LB::server addr] equals 10.70.0.1] } {
SSL::disable serverside
}
}
You'll need to apply a server SSL profile to the VIP and turn it off in the iRule if the selected server's IP matches a non-SSL host. Also, depending on how many servers you have, it may also make sense to handle the SSL switching assignments in a data group.
ex.
10.70.0.1 := off
10.70.0.2 := on
10.70.0.3 := on
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