[squid-users] IP Whitelist still getting user:pass prompt

Andy Frad andy.frad at gmail.com
Sat Apr 24 11:58:01 UTC 2021


I'm having an issue where even though I have my acl higher up in the
squid.conf, the user still gets prompted for a user:pass.

Here is a snippet of the config:

acl allowedips src " /etc/squid/allowedips.txt "
http_access allow allowedips

auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/passwd

auth_param basic children 10
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
acl password proxy_auth REQUIRED
external_acl_type userip %MYADDR %LOGIN /usr/lib/squid/ext_file_userip_acl
-f /etc/squid/userip.conf

acl userip external userip

http_access allow localhost
http_access allow userip
#http_access allow password
http_access deny all

Anything I'm doing wrong?

*CCIE #56533*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210424/2e110620/attachment.htm>

More information about the squid-users mailing list