Forum Discussion
TMcGov_92811
Jul 03, 2012Nimbostratus
iRule - Using client source tcp port to forward to specific pool
Hello, I'm looking to write an iRule and apply it to a wildcard virtual server listening on all ports. It would identify the client's source tcp port, and based on that, it would forward tra...
TMcGov_92811
Jul 03, 2012Nimbostratus
I found a god way to accomplish this:
when CLIENT_ACCEPTED {
switch [TCP::local_port] {
9951 { pool pool.xa_app_msgapps_9951}
9971 { pool pool.xa_app_msgapps2_9971}
default { discard }
}
}
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