Forum Discussion
SSL Offloading for specific IPs or range of IPs
- Jun 05, 2023
Something like this maybe (where offload_ips is a data-group with ip host and ip/mask as specified)
when CLIENT_ACCEPTED priority 500 { if {[class match -- [IP::client_addr] equals offload_ips]} { SSL::enable pool new_stack_cloud_application } else { SSL::disable pool on_premise_applications_servers } }
- Jun 06, 2023
JRahm, I beg to differ and offer a different solution. Not every problem requires an iRule to be solved. 🙂
I'd rather create two virtual servers, one with pool_A and SSL Bridging configured and another one with pool_B and SSL Passthrough, and make use of K14800: Order of precedence for virtual server matching.Order Destination Source Port 1 (host address) (network address) (port) 2 (host address) * (port) For the source you can use an Address List as described in this Manual article: Configuring Multiple IP Addresses and Service Ports for a Virtual Server. This would replace the datagroup for matching the source IP address(es).
KR
Daniel
JRahm, I beg to differ and offer a different solution. Not every problem requires an iRule to be solved. 🙂
I'd rather create two virtual servers, one with pool_A and SSL Bridging configured and another one with pool_B and SSL Passthrough, and make use of K14800: Order of precedence for virtual server matching.
Order | Destination | Source | Port |
1 | (host address) | (network address) | (port) |
2 | (host address) | * | (port) |
For the source you can use an Address List as described in this Manual article: Configuring Multiple IP Addresses and Service Ports for a Virtual Server. This would replace the datagroup for matching the source IP address(es).
KR
Daniel
Daniel_Wolf HOW DARE YOU BEG TO DIFFER!! 😎
But seriously, 💯 on only using iRules where necessary. maadavan, this solution is definitely the way to go!
- Daniel_WolfJun 06, 2023MVP
I'm always looking for trouble... 😁😁😁
- maadavanJun 06, 2023Altocumulus
Thanks for clarifying & providing quick solutions JRahm , Daniel_Wolf
Recent Discussions
Related Content
* 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