Forum Discussion
Alvaro_3931
Nimbostratus
Nov 29, 2007Create a pool with port forwarding
Hi,
I have the following scenario:
We have developed a service running in jboss which is running in a backend server behind the f5. A virtual server (ui.service.com) forwards the reque...
Colin_Walker_12
Nov 29, 2007Historic F5 Account
Honestly, it sounds to me as though the best approach would be to create individual VIPs to listen to the three ports you actually want to pass traffic on, since it would be additional overhead to block/drop everything else manually.
This could certainly be done, though, so option B is definitely possible. The statement you'd want in your iRule would be something like:
when HTTP_REQUEST {
switch [TCP::local_port] {
2001 -
2002 -
2003 { pool jbossPool }
default { discard }
}
}This would look for anything that comes in destined to port 2001, 2001 or 2003 and send them along to a pool, in this example named jbossPool, and discard everything else.
HTH,
Colin
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
