[squid-users] allow certian user ips to access only 2 domains and disallow everything

simon ben guy20034u at yahoo.com
Fri Oct 16 09:21:17 UTC 2020


I have squid running perfectly fine on centos 7 64 bit with no issuesI want to allow certain user ips to access a few sites and block everything else so below is the configthe sites are 1) paloaltonetworks.com2) redcloak.secureworks.com
in squid.conf-------------------acl userlist src "/etc/squid/userlist"acl sitelist dstdomain "/etc/squid/sitelist"http_access allow userlist sitelist
-------------------
user list file has the ips-----------
192.168.62.128192.168.62.1192.168.62.129192.168.61.1192.168.62.130192.168.62.3192.168.61.128172.16.120.160------------------------------
site list file has the sites----------------------------------------.paloaltonetworks.com.secureworks.comhttps://ch-baladia.traps.paloaltonetworks.combaladia.xdr.eu.paloaltonetworks.comidentity.paloaltonetworks.comlogin.paloaltonetworks.comassets.adobedtm.comwww.paloaltonetworks.comredcloak.secureworks.com

------------------------------------------------
I see that the first page and some links are working but some do not . also there is a huge deny logs in squid access logsappreciate if you can advise me on how i can have the above access list so as to have minimum denies when being accessed from the above ips

Thanks and Regards

simon  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20201016/46fcbecf/attachment-0001.htm>


More information about the squid-users mailing list