Re: [squid-users] Multiple Proxy addresses on the same Server

From: Alaa Ayad - InternetVSAT.com <alaa@dont-contact.us>
Date: Tue, 13 Mar 2007 20:50:08 +0200

Do you mean I have to add the lines below in the squid.conf or resolv.conf :
iptables -t nat -A POSTROUTING -p tcp --dport 80 -j SNAT --to-source
zzz.zzz.zzz.zzz
yyy.yyy.yyy.yyy

I tried that but it gives error for those lines !

----- Original Message -----
From: "Alexandre Correa" <alexandre@sabbath.com.br>
To: "Alaa Ayad - InternetVSAT.com" <alaa@internetvsat.com>
Sent: Tuesday, March 13, 2007 6:25 PM
Subject: Re: [squid-users] Multiple Proxy addresses on the same Server

> with iptables you can !!
>
> iptables -t nat -A POSTROUTING -p tcp --dport 80 -j SNAT --to-source
> zzz.zzz.zzz.zzz
>
> On 3/13/07, Alaa Ayad - InternetVSAT.com <alaa@internetvsat.com> wrote:
>> I was wondering if there is another way allow me to use the other IP
>> addresses of the server and getting the reply as per used IP address in
>> the
>> browser ..
>>
>>
>> Regards,
>> Aldalil
>>
>> ----- Original Message -----
>> From: "Alexandre Correa" <alexandre@sabbath.com.br>
>> To: <alaa@internetvsat.com>
>> Sent: Tuesday, March 13, 2007 11:55 AM
>> Subject: Re: [squid-users] Multiple Proxy addresses on the same Server
>>
>>
>> > tcp_outgoing_address
>> >
>> > ex:
>> >
>> > acl home_clients src 10.0.0.0/8
>> > acl corporate_clients src 192.168.0.0/23
>> >
>> > tcp_outgoing_address yyy.yyy.yyy.yyy home_clients
>> > tcp_outgoing_address zzz.zzz.zzz.zzz corporate_clients
>> >
>> > regards.
>> >
>> > On 3/13/07, alaa@internetvsat.com <alaa@internetvsat.com> wrote:
>> >> I've just installed and configured the latest stable release of squid
>> >> 2.6,
>> >> Squid is working Fine on Fedora now .. BUT I have small problem.
>> >>
>> >> I have 3 IP addresses on the same server, x.x.x.x is the Main Server
>> >> IP,
>> >> y.y.y.y & z.z.z.z are the additional IP addresses.
>> >>
>> >> Using any of these IP addresses is working fine.
>> >>
>> >> The problem is that when I use x.x.x.x , y.y.y.y & z.z.z.z as the
>> >> proxy
>> >> address I get a reply that I'm using the main server IP which is:
>> >> x.x.x.x
>> >>
>> >> What I need is when I use y.y.y.y I get a reply that I'm using y.y.y.y
>> >> and
>> >> same for z.z.z.z
>> >>
>> >> Any one have the solution ?
>> >>
>> >> Best Regards,
>> >> Aldalil
Received on Tue Mar 13 2007 - 12:51:41 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT