[squid-users] Squid Subnet Help?
squid3 at treenet.co.nz
Thu Sep 17 04:36:13 UTC 2020
On 17/09/20 3:32 pm, Angelo Wang wrote:
> 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 18.104.22.168/24 and 138.100.140/24
> And would only like to allow X user via IP or via USER:PW to access only
> 22.214.171.124/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 126.96.36.199/24
miss_access deny userX subnet12
More information about the squid-users