Search squid archive

Re: Multiple Proxy addresses on the same Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
To: "Alaa Ayad - InternetVSAT.com" <alaa@xxxxxxxxxxxxxxxx>
Sent: Tuesday, March 13, 2007 6:25 PM
Subject: Re:  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@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx>
To: <alaa@xxxxxxxxxxxxxxxx>
Sent: Tuesday, March 13, 2007 11:55 AM
Subject: Re:  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@xxxxxxxxxxxxxxxx <alaa@xxxxxxxxxxxxxxxx> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux