Hello,
Joseph Mack wrote: > > On Tue, 30 Jun 2009, Olaf Krische wrote: >> Okay, i will try this out. Tho, i am not a big fan of giving each squid >> an >> IP. I do not own a big block. > LVS-DR realservers have only private IPs > Okay, hereby i out myself as fresh and being totally stunned about the magic: This is my config that works so far: load balancer: echo 1 > /proc/sys/net/ipv4/ip_forward ipvsadm -A -t $VIP:80 -s wlc ipvsadm -a -t $VIP:80 -r $RIP1 -g ipvsadm -a -t $VIP:80 -r $RIP2 -g real server: iptables -t nat -A PREROUTING -p tcp -d $VIP --dport 80 -j REDIRECT --to-port 80 So, when i do netstat, i see something like that: tcp 0 0 192.168.2.66:80 92.79.30.10:3769 But when i see the response coming back to my station, i see $VIP as the source address. Is this iptables, which rewrites from "192.168.2.66" to "$VIP" again? How is this possible? -- View this message in context: http://www.nabble.com/ipvs-or-apache-mod_proxy-mod_balancer-tp24184926p24289572.html Sent from the LVS mailing list archive at Nabble.com. _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
