[f-nsp] ServerIron multiple virtual ports to real ports

Nicolaj Kamensek nk at accelerated.de
Sat Feb 21 05:53:33 EST 2009


Jonas Frey schrieb:

Hello,

> Now i want to define ports on teh virtual server which each always go to
> the same real server.
> For example:
> 
> 10.0.0.1 (VS) Port 81 -> 10.0.10.2 (RS) Port 80
> 10.0.0.1 (VS) Port 82 -> 10.0.10.3 (RS) Port 80
> 
> The problem here is that i already have "used up" port 80 on the real
> servers for the load balancing.
> 
> I basically need a way to circumvent the loadbalancing and get on the
> real servers standard http port. Has anyone found a way to solve this?

for that purpose, we have a 2nd routing table running on the nodes. The 
trick is to mark port-80 traffic with iptables and forward exactly that 
kind of traffic to the load-balancer using an ip rule.

This makes it possible to add another http vhost on a different port 
which can be used to directly access the server.


HTH,
Nico


-- 
Accelerated IT Services GmbH
Schubertstrasse 10                        D-67251 Freinsheim
nk at accelerated.de                         http://www.accelerated.de/
Telefon: +49 69-25738580-3                Telefax: +49 69-25738580-4
HRB: 60665 - Amtsgericht Ludwigshafen     UstID: DE253684415
Geschäftsführende Gesellschafter:         Nicolaj Kamensek & Ole Krieger



More information about the foundry-nsp mailing list