Re: [squid-users] Outbound Load-balancing

From: johan firdianto <johanfirdi_at_gmail.com>
Date: Mon, 4 Aug 2008 08:18:54 +0700

Hi Ian,

Are u sure tcp_rotate_outgoing_addresses is defined in squid.conf ?
From which source you get this command ?
I dont' find this command in src squid.
Try "grep tcp_rotate * " in src directory.
Thanks.

Johan

On Sun, Aug 3, 2008 at 3:04 PM, Ian Savoy <iansavoy_at_gmail.com> wrote:
> found it...
>
> tcp_rotate_outgoing_addresses on
> tcp_outgoing_address 123.123.123.123
> tcp_outgoing_address 123.123.123.124
> tcp_outgoing_address 123.123.123.125
> tcp_outgoing_address 123.123.123.126
>
>
> Now the real question.... Which compile option do i need to use to
> get this functionality? I'm using 2.6 STABLE 6
>
> Thanks in advance guys,
>
> Ian
>
>
>
> On Sun, Aug 3, 2008 at 1:49 AM, Pieter De Wit <pieter_at_insync.za.net> wrote:
>> 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 Mon Aug 04 2008 - 01:18:57 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 04 2008 - 12:00:03 MDT