Re: [squid-users] SQUID - Using random IP's

From: johan firdianto <johanfirdi_at_gmail.com>
Date: Wed, 16 Sep 2009 17:53:55 +0700

using iptables ... use nth module.

Johan

On Wed, Sep 16, 2009 at 5:29 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Vapourmike wrote:
>>
>> Hi,
>>
>> I currently have a server installed and running Squid 2.6 (via Yum), on my
>> box I have a block of 32 IP address's configured for apache, but Squid
>> just
>> uses the main IP address (whatsmyip.com), anyway I would like to set SQUID
>> up so that it cycles through the IP's randomly, so if I go to
>> whatsmyip.com
>> it changes each time I hit refresh (picks one from the list).
>>
>> Is this possible? Ive seen countless proxies do this before, but unsure on
>> how to configure SQUID to do this.
>
> Not at present. There is an open request to get a 'random' ACL created for
> Squid.
>
> For now you are stuck with listing the IPs to use individually in
> tcp_outgoing_addr and creating some other criteria (such as time of day) to
> select the specific sending IP.
>
>
> Amos
> --
> Please be using
> Current Stable Squid 2.7.STABLE6 or 3.0.STABLE19
> Current Beta Squid 3.1.0.13
>
Received on Wed Sep 16 2009 - 10:53:59 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 16 2009 - 12:00:03 MDT