Forum Discussion
UBPClaw_95105
Nimbostratus
Feb 05, 2019Pool redirect based on source IP and port
We have an application that listens on port 80, 443, and 808. We use http monitors which means instead of having a single 0 service pool each VIP has its own pool for the associated ports. We have a ...
CharlesCS
Cirrus
Feb 05, 2019Try using the TCP::local_port data item, whose value should be either 80, 443, or 808 depending on which virtual server is being accessed.
when CLIENT_ACCEPTED {
switch [IP::addr [IP::client_addr] mask 255.255.255.0] {
"1.1.1.0" -
"2.2.2.0" {
pool www.site.com-[TCP::local_port]
}
}
}
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