[squid-users] Forcing authentication on specific websites (forwarding)

Joshua Rogers jrogers at opera.com
Fri Mar 12 17:17:24 UTC 2021

Hi all,

I am trying to get Squid to work as an open forwarding proxy, but with a

I am hoping to allow access to all websites through squid except certain
websites. Sites which are not allowed will require authentication.

I tried this configuration:
http_access allow all
acl my_auth proxy_auth REQUIRED
acl google_users proxy_auth user1 user2 user3
acl google dstdomain .google.com
http_access deny google !google_users
http_access allow my_auth

but it simply allowed access to all websites instead of blocking *only* .

Is this sort of configuration possible with Squid, and if so, how can it be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210312/a9c793f1/attachment.htm>

More information about the squid-users mailing list