[squid-users] Squid virtual ips problem

From: marpel78 <marpel_at_harpaitalia.it>
Date: Tue, 20 May 2008 09:32:52 -0700 (PDT)

Hi all.
I've a big problem with squid and linux box.

My server has three ips 192.168.10.1 on eth0 and 192.168.10.2 (virtual
eth0:1) 192..168.10.3 (eth0:2).

Squid is listening on 192.168.10.1, 2 and 3 port 8080.

My problem is that i should like to make a selection based on source ip.

If i get a request from 192.168.10.50 i should that squid use 192.168.10.2
to go to internet.
If i get a request from 192.168.10.60 i should like squit use 192.168.10.3
to go to internet.

But my squid only use its physical address 192.168.10.1 to go to internet
also if my clients use 192.168.10.2 or 192.168.10.3 as proxy.

I try to use iptables + squid + ip route but it does not work.
Any suggestion please??
Thanls

-- 
View this message in context: http://www.nabble.com/Squid-virtual-ips-problem-tp17344754p17344754.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Tue May 20 2008 - 16:33:23 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:13 MDT