[lvs-users] ipvs or apache/mod_proxy/mod_balancer
public at ecopatz.de
Wed Jul 1 14:13:43 BST 2009
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
>> 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
This is my config that works so far:
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
iptables -t nat -A PREROUTING -p tcp -d $VIP --dport 80 -j REDIRECT
So, when i do netstat, i see something like that:
tcp 0 0 192.168.2.66:80 188.8.131.52:3769
But when i see the response coming back to my station, i see $VIP as the
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.
More information about the lvs-users