Forum Discussion
Frank_Zhang
Nimbostratus
Feb 12, 2016iRule Forward client traffic to different port by source IP addresses
I have an https server receiving client connections from the Internet. All client traffic uses default https port 443. Depending on the source IP addresses, the VIP will forward the traffic to a diff...
Frank_Zhang
Nimbostratus
Feb 12, 2016Thank you, Josiah for the quick answer. You're right, I only have one server listening multiple ports. Is the following working? when CLIENT_ACCEPTED {
switch [class match [IP::client_addr]] Source-IP-Datagroup1 {
pool serverPool 10.10.10.100 5001 }
Source-IP-Datagroup2 {
pool serverPool 10.10.10.100 5002 } Source-IP-Datagroup3 {
pool serverPool 10.10.10.100 5003 }
default { drop } } By the way, if needed I can use SSL offloading. Because the traffic needs to be encrypt again if client SSL offloading is used, so we prefer not to do it. Thanks again.
Frank.
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