Redirectig Squid
Daniel Elías Robles
d.robles@codetel.net.do
Wed, 23 Jan 2002 12:08:26 -0500
1.- Recompile squid as follows
./configure --with-linux-netfilter
2.- Change squid.conf to these
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Warning. Do not try to run authenfication with transparent proxy as it does
not work as expected.
Daniel
----- Original Message -----
From: "Vasil Kolev" <vasil@dobrich.net>
To: "Arthur Meyer" <arthur.meyer@tbz.ch>
Cc: <netfilter@lists.samba.org>mail.codetel.net.do
Sent: Wednesday, January 23, 2002 10:15 AM
Subject: Re: Redirectig Squid
> The problem in in squid. See httpd_accell_* parameters, set them properly,
> and voila.
>
> On Wed, 23 Jan 2002, Arthur Meyer wrote:
>
> > Hi all
> >
> > I want to redirect Port 80 to Port 3128 (Squid)
> > I use iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
> > REDIRECT --to-port 3128
> >
> > All I get is illegal URL.
> >
> > Has anybody tried to do the same thing? If I remove this
> > command, I can get through .
> > Thanks
> > Arthur
>
>