[squid-users] restriction of sites to a subnet

jake driscoll jakedriscollin2015 at gmail.com
Tue Sep 1 13:28:06 UTC 2015


here is my requirement:

>i have a subnet
>only a small list of sites need to be allowed access to this subnet
>this subnet should not get access to any other site except the ones in the
list
>access for other users will remain the same

I tried the following

acl station-ip src 192.168.1.0/24
acl station-domain dstdomain www.google.com www.bbc.com
http_access deny station-ip !station-domain

and also this -
http_access deny station-ip
http_access allow station-ip station-domain

this is still blocking everything else for the subnet.
please help with setting this up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150901/b1c1cb46/attachment.html>


More information about the squid-users mailing list