Vserver with single TCP port redirect to reals with different ports

Answered Question
Jan 22nd, 2009


Can anyone help me out with this one or point me in the right direction.

I'm looking to implement a single VIP & TCP port load balanced against backend real servers that don't listen on that same port.


vip www

real 1000 1001


Is this possible ? Have been looking at redirect`s and port translations.

Any clues much appreciated.

I have this problem too.
0 votes
Correct Answer by Gilles Dufour about 7 years 11 months ago

Same idea for CSM. I confirm.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
jomize Thu, 01/22/2009 - 15:15

I assume you're referring to ACE?...

You pretty much have it in your original post. A config snippet might look like:

serverfarm host ServerFarm

rserver Server192.168.1.1 1000


rserver Server192.168.1.1 1001


The ACE will answer on whatever port you've configured (in your case, port 80), and then, since you specified the port in the serverfarm config, the ACE will forward the request on the port you specified instead of inheriting it from the VIP configuration.

achrich Fri, 01/23/2009 - 01:16

Great - I was hoping it would be something simple like that.

This is for a CSM not a ACE but I assume the concept / config is almost identical ?



This Discussion