RE: [squid-users] Proxy forwarding problem

From: Kundiger, Rick <RKundiger@dont-contact.us>
Date: Wed, 29 Jan 2003 15:27:34 +0900

When I define the acl hq_intranet do I use their IP class or mine?

-----Original Message-----
From: Wei Keong [mailto:chooweikeong@pacific.net.sg]
Sent: Wednesday, January 29, 2003 11:02 AM
To: Kundiger, Rick
Cc: 'squid-users@squid-cache.org'
Subject: Re: [squid-users] Proxy forwarding problem

> cache_peer proxy.hq.blah.blah.com sibling 8080 3120 (this is hq proxy
> server)

this is not need, if you only want the local cache to forward requests to
the parent cache.

> cache_peer proxy.gj.blah.blah.com parent 8080 3120 (this is my proxy
> server)
> neighbor_type_domain parent blah.com

try this:
cache_peer proxy.gj.blah.blah.com parent 8080 3120 proxy-only no-query
acl hq_intranet url_regex .*\.blah\.com.*
never_direct allow hq_intranet

Rgds,
Wei Keong

On Wed, 29 Jan 2003, Kundiger, Rick wrote:

> Here is the problem. I have a local proxy that I use for all my regional
> users to get their cached info from. However, my home HQ site has it's
own
> proxy as well. Now the trick is, certain parts of the home site's
firewall
> will only allow people through that are using the HQ proxy.
>
> Since none of my users are using HQ proxy they can't get in. So I figured
> setup a parent-sibling relationship, this didn't work. I know I am doing
it
> wrong I just can't figure out how to do it right. Here is my current
config
>
> cache_peer proxy.hq.blah.blah.com sibling 8080 3120 (this is hq proxy
> server)
> cache_peer proxy.gj.blah.blah.com parent 8080 3120 (this is my proxy
server)
> neighbor_type_domain parent blah.com
>
> Now, this just causes forwarding loops. If I comment out myself as the
> parent then it doesn't seem to do anything and proxying is really slow.
> Somehow I need to forward packets to blah.com via the HQ proxy server and
> all other traffic goes through my server.
>
> anyone know how to do this?
>
> Thanks
> Rick
>
Received on Tue Jan 28 2003 - 23:31:07 MST

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