Hi, Gareth and others,

My situation is like part of you said, I am using the proxy server as a 
"gateway" and the clients are not aware of it.

I am setting the squid to run on port 80, with only this configuration.

***
http_port 80 transparent
***

For experiment, I have no rules in IP tables, and it's turned off. It's 
basically working, at least for HTTP for now.

Please also check this post: 
http://www.deckle.co.za/squid-users-guide/Transparent_Caching/Proxy

Thanks,
Shan


-----Original Message-----
From: GarethC [mailto:[email protected]] 
Sent: Tuesday, March 20, 2012 1:00 PM
To: [email protected]
Subject: [squid-users] Re: transparent caching

Hi Shan,

If you are running Squid as a forward proxy, for example as an Internet 
gateway, you would normally have a firewall (device or server running
IPTables) that your users would pass through. The idea with transparent proxy 
is that your users would have no idea they are being proxied, that is you would 
not normally have to configure a users browser to go via the proxy.

Instead, you set your firewall to capture all traffic on port 80 (from your 
internal network) and pass that transparently to your Squid server (which 
usually runs on port 3128).

User browses   -----> Firewall forwards --------->  Squid listening on 3128
to a website              port 80 requests                 deals with the
request

If you set your Squid server to run on port 80, you could still run it as a 
transparent proxy, you would still need to do the port forwarding from your 
firewall to the Squid server.


-----
Follow me on...

My Blog
Twitter
LinkedIn
Facebook 

--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/transparent-caching-tp4489412p4489553.html
Sent from the Squid - Users mailing list archive at Nabble.com.

Reply via email to