Forum Discussion

Stephen_Hines_5's avatar
Stephen_Hines_5
Icon for Nimbostratus rankNimbostratus
Jan 16, 2007

Translating incoming port 80 traffic to a virtual server balancing port 8080 traffic on its members

Essentially I need to setup a virtual server to balance http traffic on port 8080 for Tomcat 5.0 on several members in a pool that are associated with a virtual server IP (easy part). But I also need to have http requests over port 80 to hit this virtual server address which is actually balancing traffic on the individual pool members on port 8080. From the client's point of view, the URL won't be rewritten in the browser window - the traffic will automatically be forwarded.

 

 

So when users hit virtual server http:// on port 80, they will actually be accessing http://:8080 on the members of the pool. In effect, users will not enter port 8080 on the virtual server address to get to the web app running on the Tomcat web servers on the individual pool members, just http://.

 

 

I have heard that there is a way to setup an iRule to forward/translate traffic coming in over one port to a different port that the pool members are actually load balancing traffic on. I have never created an iRule before (also not a programmer) so any help is appreciated.

 

 

For reference I have a F5 Big IP Local Traffic Manager Model 3400 running software version 9.1.2.
No RepliesBe the first to reply