Re: [squid-users] transparent proxy

From: Simon White <simon@dont-contact.us>
Date: Thu, 21 Feb 2002 09:44:11 +0000

On 21-Feb-02 at 16:41, jayabaya's inspired musing was thus :
> if i put proxy manually to my browser, all my request to any web server
> will be thorugh port 8080 (squid).
> if i dont, all my request is directly to port 80 at the web server i
> requested.
>
> i've put redirect option at my ipchains rules (ipchains -A input -p tcp -d
> 0/0 80 -j REDIRECT 8080)
> my kernel has support CONFIG_IP_TRANSPARENT_PROXY=y (slackware 7.1;kernel
> 2.2.19)
> and my squid.conf already have a configurations for transparent proxy :
> http_port 8080
> httpd_accel_host VIRTUAL
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> what else do you need to know?
> or maybe i did some mistake during installation? i'm really not sure about
> it....
> you can yell at me though :) if i really stupid to see any mistaken
>
> thx
>

Is Squid running on the same machine as the firewall? If it isn't, then your
IP chains rule needs to redirect to the Squid machine.

-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco
Received on Thu Feb 21 2002 - 02:44:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:29 MST