LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: how to load balance http and squid request ?

To: massimiliano@xxxxxxxxxxxxx, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: how to load balance http and squid request ?
From: massimiliano conteduca <massimiliano@xxxxxxxxxxxxx>
Date: Tue, 18 Apr 2006 07:39:54 -0700 (PDT)
> what was your test for success?

simply try to surf on internet from outside lan using
as proxy the one that im trying to setup.  
the browser just reply that the proxy server cannot be
found.
ipvsadm -L show always InActConn 0

TCP VIP:squid wlc
    RIP1:squid  Route 1 0 0
    RIP2:squid  Route 1 0 0


> > i tried other solution i found on the net
> 
> what solution?

iptables -t nat -A PREROUTING -p tcp --dport 80 -j
REDIRECT --to-port 3128

doing this all incoming request on port 80 is
redirected on port 3128 before routing table and
infact  
ipvsadm -L shows 
VIP:squid wlc
RIP1:squid weight=1 ActiveConn=0 InActConn=15
Rip2:squid weight=1 ActiveConn=0 InActConn=11

but
trying to surf on internet give me the same result as
before browser says proxy server cannot be found.

i hope its more clear now what i did.

thank you


<Prev in Thread] Current Thread [Next in Thread>