Search squid archive

Re: IP-to-Country csv file and conditionnal relay.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 2008-04-21 at 11:09 +0800, Julien MARY wrote:
> Hi,
> 
> After have googled a lot concerning my issue, I'm coming here.
> 
> I'm using two servers, one is a transparent proxy, sitting in office in 
> China. The other one is in another asian country.
> I have set up and ssh tunnel between the two computers in order to 
> connect the two proxies in a secured way.
> 
> What I have set up presently is :
> ---
> cache_peer localhost parent 8028 7 no-query default
> ---
> 
> Where the 8028 is binded with the 3128 port on the remote proxy.
> 
> My problem is that users in office can' t access to web sites in China 
> with good speed. I want to find a way to enable the relaying only if the 
> ip of the visited web site is not located in China.
> 
> And I didn't figure out any way to do this.
> 
> Somebody might help ?

Look at "always_direct". Create an acl for the Chinese servers and then
use "always_direct permit ..."

Colin
-- 
Colin Campbell
Unix Support/Postmaster/Hostmaster
Citec
+61 7 3227 6334

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux