Re: [squid-users] How to set multiple WAN IP with squid ?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 09 Aug 2011 22:56:27 +1200

On 09/08/11 21:51, J. Bakshi wrote:
> On Tue, 9 Aug 2011 14:57:58 +0530
> "J. Bakshi"<joydeep_at_infoservices.in> wrote:
>
>> On Tue, 09 Aug 2011 21:12:58 +1200
>> Amos Jeffries<squid3_at_treenet.co.nz> wrote:
>>
>>> On 09/08/11 20:59, J. Bakshi wrote:
>>>> Hello,
>>>>
>>>> How can I set multiple WAN IP with squid server with different domains ?
>>>>
>>>> Say mydomain.de connect with squid server with WAN IP 203.XXX.XX.XX
>>>> where mydomain.au connect with the same server with IP 205.XXX.XX.XX
>>>>
>>>> TIA
>>>
>>> http://www.squid-cache.org/Doc/config/tcp_outgoing_address/
>>>
>>> Amos
>>
>> Thanks, I have flipped through it but havn't found How can I add a domain name , so that based on domain the outgoing IP will differ.
>>
>> TIA
>
> answering self...., I think pointing the domain to the IP do that domain related thing.

I'm not quite sure what you are talking about.
  It seems likely you are looking for the dstdomain ACL type. Which
checks the domain the browser is loading in the address bar.
  But some of what you say seems to be talking about srcdomain, which is
the users ISP network domain name.

There is a long list of ACL types which can be used here:
   http://www.squid.cache.org/Doc/config/acl/

and the FAQ how-to about how ACLs and access controls work in Squid is
here: http://wiki.squid-cache.org/SquidFaq/SquidAcl

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.10
Received on Tue Aug 09 2011 - 10:56:37 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 09 2011 - 12:00:02 MDT