SQUID: How to disable authentication?

Johann picture Johann · Nov 7, 2013 · Viewed 14.3k times · Source

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

Answer

Johann picture Johann · Nov 8, 2013

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.