LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [PROB]: TP (iptables REDIRECT) on port 80, lvs, and squid

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [PROB]: TP (iptables REDIRECT) on port 80, lvs, and squid
Cc: <netfilter@xxxxxxxxxxxxxxx>
From: "mack@xxxxxxxxxxxx" <mack@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jan 2002 15:56:43 -0500 (EST)
On Fri, 18 Jan 2002, Ian C. Sison wrote:

> > the LVS byte/packet counter?
> 
> Is there one?  \8)

yes, see statistics (or something) in the HOWTO

> byte/packet counts are from iptables -t mangle -L -v -n

> My ideas as well, but then if it goes somewhere crazy, how does one detect
> it,

run tcpdump on the realserver. To make sure you hit the correct
realserver, just have one realserver.

> One question though, with the LVS setup i have (LVS in front of 4 squids
> rigged for transparent proxy). If from the LVS box itself i telnet to
> itself, port 80, i get 'connection refused'.  However if i telnet from
> some other box to the LVS box, i get answered my one of the squids.  Is
> that normal at all?

yes. see "gotcha" in the HOWTO

Joe

-- 
Joseph Mack, mack@xxxxxxxxxxxx
Linux Virtual Server project
http://www.linuxvirtualserver.org



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