Re: [squid-users] Fwd: transparent filtering

From: Henrik Nordstrom <[email protected]>
Date: Thu, 15 Apr 2004 09:33:04 +0200 (CEST)

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 - 01:33:14 MDT

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