[squid-users] multiple user + multiple ips

Alex Rousskov rousskov at measurement-factory.com
Wed May 23 18:47:53 UTC 2018


On 05/23/2018 10:25 AM, tstatue wrote:

> This is what I'm trying to do:
> 
> 3 users:
> user1
> user2
> user3
> 
> 9 outgoing ips:
> 192.168.1.2
> 192.168.1.3
> 192.168.1.4
> 192.168.1.5
> 192.168.1.6
> 192.168.1.7
> 192.168.1.8
> 192.168.1.9
> 192.168.1.10
> 
> I would like only user1 to be able to login to 192.168.1.2:3128
> 192.168.1.3:3128 192.168.1.4:3128 and use them as outgoing ips. So if they
> login to 192.168.1.2:3128 then 192.168.1.2 will be used as the outgoing IP.
> 
> User2 will use 192.168.1.5:3128 192.168.1.6:3128 etc...

Authentication feels orthogonal to outgoing IP usage in this context. I
would treat them as two separate issues.

What seems to be the primary difficulty in your attempts to make this
work? For controlling the outgoing IP address, have you tried a
combination of tcp_outgoing_address with, for example, a myportname ACL?

Alex.


More information about the squid-users mailing list