SQUID: How to disable authentication?
15,806
Solution 1
I solved it.. I just commented out
#auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd
and then commented out acl ncsa_users proxy_auth REQUIRED
#acl ncsa_users proxy_auth REQUIRED
acl ncsa_users dst 10.244.0.0/16 all
Then restarted squid
I hope someone may find this useful.
Solution 2
Try with:
Comment:
#acl ncsa_users proxy_auth REQUIRED
#auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd auth_param basic
#children 5 auth_param basic realm Squid proxy-caching web server auth_param basic
#credentialstt1 2 hours auth_param basic casesensitive off
And modify:
http_access deny all
to:
http_access allow all
Author by
Johann
Updated on June 27, 2022Comments
-
Johann almost 2 years
I have a working Squid with authentication. How do I temporarily disable authentication? Can I just comment out the following lines below from squid.conf:
acl ncsa_users proxy_auth REQUIRED
And
auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialstt1 2 hours auth_param basic casesensitive off
Or, can I just disable authentication for an acl group?
Thank you in advance
-
Aleksey Kontsevich almost 10 yearssquid fails to start after Your changes.
-
Aleksey Kontsevich almost 10 yearssquid does not start at all with above