[squid-users] Squid Subnet Help?
Amos Jeffries
squid3 at treenet.co.nz
Thu Sep 17 04:36:13 UTC 2020
On 17/09/20 3:32 pm, Angelo Wang wrote:
> Hi,
>
>
> 1 . If i have a multiple subnet and would like to disallow a user to
> access the subnet ips how would i be able to do this?
>
>
> Example I have subnet 138.12.14.0/24 and 138.100.140/24
>
>
> And would only like to allow X user via IP or via USER:PW to access only
> 138.12.14.0/26, and then block him from accessing other subnets?
>
Be aware that HTTP protocol has no concept of subnets, only resources.
Any resource could have servers in both the allowed and non-allowed areas.
acl userX note user X
acl subnet12 dst 138.12.14.0/24
miss_access deny userX subnet12
Amos
More information about the squid-users
mailing list