Common issues with authentication
Sometimes, we may run into problems with authentication helpers due to incorrect configuration. Next, we'll have a look at a few commonly known issues that can be fixed easily by modifying our main configuration file.
Whitelisting selected websites
Depending on our environment, there may be some websites which can be accessed by our users without authenticating with the proxy server. We can create special ACL lists for such websites and allow non-authenticated users access to those websites. Let's have a look at the configuration lines we need to add to our configuration file:
acl whitelisted dstdomain .example.com .news.example.net acl authenticated proxy_auth REQUIRED # Allow access to whitelisted websites. # But only from our local network. # localnet is default ACL list provided by Squid. http_access allow localnet whitelisted # Allow access to authenticated users. http_access allow authenticated # Deny access to everyone else. http_access deny all
This...