Re: [squid-users] problem running transparent proxy with squid-2.6.stable6

From: Alexandre Correa <alexandre@dont-contact.us>
Date: Thu, 28 Dec 2006 15:03:02 -0200

your squid behind firewall.. and firewall is redirecting requests from
squid too...

try this on firewall

iptables -t nat -A PREROUTING -i eth0 -s ! 192.168.1.2 -p tcp --dport
80 -j DNAT --to 192.168.1.2:3128

On 12/28/06, Menuhin Saitov <menuhin@web.de> wrote:
> On Thu, Dec 28, 2006 at 05:31:21AM -0800, zulkarnain wrote:
> > Hi,
> >
> > I'm having problem running transparent proxy with
> > squid-2.6S6 where squid is not running in the same box
> > with router/firewall. Here is my configuration:
> >
> > [Client]-------[Squid]---[Firewall]----[Web server]
> > 192.168.1.3 192.168.1.2 192.168.1.1 192.168.2.2
> > 192.168.2.1
> > [squid]
> > squid.config: "http_port 3128 transparent".
> >
> > [Firewall]:
> > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport
> > 80 -j DNAT --to 192.168.1.2:3128
> >
>
>
> Hi,
> can you ping from the client to Internet?
>
> Menuhin
> --
> Menuhin Saitov htt://www.msaitov.de
>
>
>

-- 
Sds.
Alexandre J. Correa
Onda Internet / OPinguim.net
http://www.ondainternet.com.br
http://www.opinguim.net
Received on Thu Dec 28 2006 - 10:03:04 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST