Hello all,
I'm having a play with LVS, and I've got a mod_proxy apache running
on the director. This is doing ssl, caching and proxying traffic
to the _director_ on a different port.
I can't configure LVS to listen on the localhost. Here is a working
config for ipvsadm
#works for the eth0
-A -t 192.168.0.50:8080 -s rr
-a -t 192.168.0.50:8080 -r 192.168.1.4:80 -m -w 1
#doesn't work
-A -t 127.0.0.1:8080 -s rr
-a -t 127.0.0.1:8080 -r 192.168.1.4:80 -m -w 1
Is there anything special I have to do? Or do I need to do this with
port forwarding with iptables?
Cheers,
Matt
--
Nothing is more destructive of respect for the government and the
law of the land than passing laws which cannot be enforced. It is
an open secret that the dangerous increase of crime in this country
is closely connected with this.
- Albert Einstein - My First Impression of the USA
|