Hi, thanks for the help, solved this via real-port as Ryan proposed:
RS1 port 12345 RS2 port 23456 VS1 port 12345 port 23456 bind 12345 RS1 12345 real-port http bind 23456 RS2 23456 real-port http Regards, Jonas On Sat, 2009-02-21 at 11:53, Nicolaj Kamensek wrote: > 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 _______________________________________________ foundry-nsp mailing list [email protected] http://puck.nether.net/mailman/listinfo/foundry-nsp
