vinayan K P wrote:

Hello,

Hope someone could help me.

I am using a squid proxy (squid-2.5.STABLE13-1.FC4) behind another
squid proxy and firewall.

Hello Vinayan,

If you are behind a firewall then you can't make direct connections to the outside world, so you *must* use a parent cache. Squid doesn't use ICP queries for a request if it's behind a firewall or if there is only one parent.

You can use the /never_direct/ access list in /squid.conf/ to specify which requests must be forwarded to your parent cache outside the firewall, and the /always_direct/ access list to specify which requests must not be forwarded. For example, if Squid must connect directly to all servers that end with /mydomain.com/, but must use the parent for all others, you would write:

acl INSIDE dstdomain .mydomain.com
always_direct allow INSIDE
never_direct allow all

For more Details visit: 
http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-f7c4c667d4154ec5a9619044ef7d8ab94dfda39b

--
Thanks,
Visolve Squid Team,
http://squid.visolve.com

Reply via email to