Vserver with single TCP port redirect to reals with different ports

Answered Question
Jan 22nd, 2009

Hi,

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.

eg

vip 10.1.1.1 www

real

192.168.1.1 1000

192.168.1.1 1001

etc

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.

Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
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

inservice

rserver Server192.168.1.1 1001

inservice

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 ?

Cheers

Actions

This Discussion