Re: [squid-users] Different port per ip

From: Chris Robertson <crobertson_at_gci.net>
Date: Tue, 16 Feb 2010 15:15:18 -0900

ciokan_at_gmail.com wrote:
> Is it possible to restrict access to each ip but with a different port
> for each ip?
>
> for example:
>
> user1 has access to ip1 port 8000
> user2 has access to ip2 port 8001
>

Given proper declaration of the acls "user1", "user2", "ip1", "ip2",
"port8000" and "port8001"...

http_access allow user1 ip1 port8000
http_access deny ip1
http_access allow user2 ip2 port8001
http_access deny ip2

Chris
Received on Wed Feb 17 2010 - 00:15:27 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 17 2010 - 12:00:05 MST