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

Reply via email to