On 8/10/05, Pavel M. Ivanchev <pavel.ivanchev@gmail.com> 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 KhaledReceived on Thu Aug 11 2005 - 04:39:34 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT