Re: [squid-users] Outbound Load-balancing

From: Pieter De Wit <pieter_at_insync.za.net>
Date: Sun, 03 Aug 2008 07:49:54 +0200

Hi Ian/Group,

Might not be the best way, but run <number of ips>+1 instances of squid,
bind all of them to one IP each. The "spare" instance then uses these as
upstream proxies all with the same weight. I dont think you can set it
to random, but you will get pretty close :)

Hope this helps,

Pieter

Ian Savoy wrote:
> Yeah, the client connections are coming from one data link. The
> outbound connections are on another, but there's 4 IPs on that
> interface.
>
> do you have any suggestions, tips, or links to help me with configuration?
>
> cheers,
>
> Ian
>
> On Sat, Aug 2, 2008 at 11:54 PM, Jose Ildefonso Camargo Tolosa
> <ildefonso.camargo_at_gmail.com> wrote:
>
>> Hi!
>>
>> I have done this kind of stuff using mainly SNAT rules (iptables on
>> Linux), but as for squid itself.. dunno.
>>
>> Why do they want to use the 5 IPs?, are these from one single data link?.
>>
>> If they are trying to load balance across different links, the
>> configuration is more complicated (but still possible, and have probed
>> to work very well for me).
>>
>> c-ya!
>>
>> Ildefonso.
>>
>> On Sun, Aug 3, 2008 at 9:31 PM, Ian Savoy <iansavoy_at_gmail.com> wrote:
>>
>>> I've been asked to configure a squid proxy for a small business. My
>>> client wants me to configure squid on a server with a block of 5 IPs,
>>> and do it in a way that outbound requests are, for lack of a better
>>> term, load-balanced across the servers own IP block. I guess kind of
>>> anonymizing which IP the requests are coming from. Is there any way
>>> of doing this? I know i can set certain protocols to go out certain
>>> IPs, but how do I randomize it? If I can't randomize it, is there a
>>> way to control it from the client without running several instances of
>>> squid on the server?
>>>
>>> Thanks in advance,
>>>
>>> Ian
>>>
>>>
Received on Sun Aug 03 2008 - 05:50:22 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 03 2008 - 12:00:02 MDT