RE: [squid-users] prefer_direct off and Network is unreachable

From: Ward, John (GroupWare) <john@dont-contact.us>
Date: Wed, 4 Sep 2002 10:36:09 +0200

also:

acl local-servers dst 10.0.0.0/8 ( <--- example, your local address range)
acl server-to-go-to-directly 1.2.3.4/255.255.255.255
never_direct deny local-servers
never_direct deny server-to-go-to-directly
never_direct allow all

the config above also helps to reduce the caching of local content on your network

HTH

John
-----Original Message-----
From: Marc Elsen [mailto:marc.elsen@imec.be]
Sent: 04 September 2002 10:14
To: Fathi Ben Nasr
Cc: Squid Users
Subject: Re: [squid-users] prefer_direct off and Network is unreachable

Fathi Ben Nasr wrote:
>
> Hello,
>
> I have a squid proxy that can't connect to the internet directly, it
> uses 5 parent round-robin caches, one parent and one default parent and
> is configured with prefer_direct set to off.
> I think with this params I shouldn't get (101) Network is unreachable
> but I do.
>
> How can I tell squid to never try to go directly and only use his parent
> caches ?
> TIA
>

  never_direct allow all

  M.

> Fathi ben Nasr
>
> (See attached file: smime.p7s)
>
> ------------------------------------------------------------------------
> Name: smime.p7s
> smime.p7s Type: PKCS #7 Signature (application/pkcs7-signature)
> Encoding: base64

-- 
 'Time is a consequence of Matter thus
 General Relativity is a direct consequence of QM
 (M.E. Mar 2002)

Received on Wed Sep 04 2002 - 02:38:08 MDT

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