[squid-users] squid cache peer with many sessions round robin to the same destination , is that possible ?

Amos Jeffries squid3 at treenet.co.nz
Tue Jan 27 21:46:42 UTC 2015


On 28/01/2015 7:04 p.m., Ahmad wrote:
> Hi mates ,
> 
>  
> 
> I have a proxy provider that give me may sessions , and each session is per
> username and pwd.
> 
> As an example , I have the provider 1.1.1.1 with 5 usernames
> 
> Each username will give me different ip.
> 
>  
> 
> I need to do on my proxy something like cache peer to the ip 1.1.1.1 and
> need to set 5 lines config each line with user/pwd .
> 
>  
> 
> But squid provent me and told me it's the same destination .

You can set multiple cache_peer directives to the same server:port by
adding the name= option to tell Squid how to identify them uniquely.

Amos



More information about the squid-users mailing list