Re: [squid-users] Fwd: transparent filtering

From: Dhaval Patel <list@dont-contact.us>
Date: Thu, 15 Apr 2004 15:27:03 -0000

Thanks for all your replies. I have tried a couple of things and the system seems to
work now. Unfortunately I did not do things 1 step at a time so I dont know which setp
would have fixed the issue. Thanks for your help though.

Dhaval

Henrik Nordstrom <hno@squid-cache.org> said:

> On Wed, 14 Apr 2004, Dhaval Patel wrote:
>
> > I am an idiot. I didnt read the howto properly. I now realize that this
> > http://en.tldp.org/HOWTO/TransparentProxy-5.html page discusses how to do redirect with
> > squid on the same server as the firewall. The url that I have in the previous email is
> > if squid is on another box. I have set the following iptable command but without success
> >
> > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
> >
> > >From the client I am getting error URL could not be found and am getting the following
> > in the access.log
> >
> > 1081968754.867 22 10.1.2.100 TCP_DENIED/400 1435 GET / - NONE/- text/html
> > 1081968755.020 1 10.1.2.100 TCP_DENIED/400 1457 GET /favicon.ico - NONE/- text/html
> > 1081968816.434 4 10.1.2.100 TCP_DENIED/400 1481 GET /products/firefox/start/ -
> > NONE/- text/html
> > 1081968816.601 0 10.1.2.100 TCP_DENIED/400 1457 GET /favicon.ico - NONE/- text/html
> >
> >
> > Any advice?
>
>
> Keep reading. You also need some squid.conf changes.. (previous chapter)
>
> Regards
> Henrik
>

-- 
Received on Thu Apr 15 2004 - 09:40:44 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT