LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS-NAT-LocalNode-Squid-Transparent Proxy

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS-NAT-LocalNode-Squid-Transparent Proxy
From: kakani@xxxxxxxxxxx
Date: Tue, 30 Dec 2003 21:56:29 -0500
Hi,

I am trying to onfigure following setup.

This setup is for using LVS with NAT, and localnode functionality to run 
director and real server (squid) on same machine, the ultimate purpose is to 
make this proxy transparent to clients and also provide active/standby 
configuration of directors (by putting another similar director server with 
proxy running on it) and also provide connection synchronization between these 
two. Kernel is 2.4.21 (Redhat Enterprise), so according to LVS HOW TO, the TP 
functionality will not work (without any modifications). 

My current status is like this:

1. Simple transparent proxy is working (with squid and ip tables).
(iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128) 

2. Regular squid proxy with LVS works fine in this configuration (I have to 
put proxy settings in the client browser). 

but both together (LVS and squid TP) does not work. I believe the explaination 
is available in HOW TO, but could not find a clear way to make this work with 
2.4.21 kernel.


Anyone has tried something like this? Any way around?

Thanks,
Gunjan

                             

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
<Prev in Thread] Current Thread [Next in Thread>