Search squid archive

Re: is it possible squid to use simultaneously two real IP's on eth0 for http request?

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

 



On 8/10/05, Pavel M. Ivanchev <pavel.ivanchev@xxxxxxxxx> wrote:
> Hi all!
> The quiestion is maybe little bit confusing,but in simply words i just
> want to explain the followind situation :
> i have squid with two ethernet cards - eth0 and eth1,eth0 is connected
> to Internet with 4 real IP addresses-eth0,eth0:1,eth0:2,eth0:3, and eth1
> is local - connected to the LAN.
> Squid use by default for http request the first real IP address - eth0.
> Is it possible in some way to use and eth0:1 as well as eth0 for
> requests,or in other words i want one group of users ,based on the LAN
> IPs, when they send http request to Internet via squid,the source to be
> IP address of eth0 and the other group source  IP address to be  IP
> address of eth0:1.
> 

tcp_outgoing_address might help.
example:
acl net_a src 192.168.1.0/24
acl net_b src 192.168.2.0/24
acl net_c src 192.168.3.0/24
tcp_outgoing_address 10.0.0.1 net_a
tcp_outgoing_address 10.0.0.2 net_b
tcp_outgoing_address 10.0.0.3 net_c

-- 
Regards.
Abu Khaled


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

  Powered by Linux