Forum Discussion

jgrohol_43248's avatar
jgrohol_43248
Icon for Nimbostratus rankNimbostratus
Jun 28, 2010

Port Translation

I've been struggling all day with this one... I have two separate problems and not sure if they are related.

 

 

1. I have a VS configured to listen on an IP and on port HTTP 80. I have it attached to a pool with a few webservers in it. The webservers are serving on port TCP 8080 instead. I have the "Port Translation" checkbox checked under the VS settings. It appears that it is not working.

 

 

2. The URL that points to that VIP is "http://test1.phly.net". When you hit that URL and it gets passed along to the pool member, the server replies with an HTTP 301 redirect and replies with its own hostname instead "http://server1.phly.net". We want to find when a 301 redirect comes in and replace the hostname with the original URL of "http://test1.phly.net". I've been working with iRules but couldn't really get anything working as of yet. One of the problems in the iRule is that we don't want to statically set what to swap out in the HTTP Header. This needs to be dynamic because of all of the possible pool members that it can have.

 

 

Any ideas or suggestions?

 

 

I'm on version 10.1.0.

 

14 Replies