diff --git a/www/squid/src/opnsense/service/templates/OPNsense/Proxy/squid.acl.conf b/www/squid/src/opnsense/service/templates/OPNsense/Proxy/squid.acl.conf index b9e1f8787..16a07929d 100644 --- a/www/squid/src/opnsense/service/templates/OPNsense/Proxy/squid.acl.conf +++ b/www/squid/src/opnsense/service/templates/OPNsense/Proxy/squid.acl.conf @@ -28,6 +28,10 @@ adaptation_access request_mod allow whiteList http_access allow whiteList {% endif %} +{% if not helpers.empty('OPNsense.proxy.forward.authentication.method') %} +http_access deny !local_auth +{% endif %} + {% if helpers.exists('OPNsense.proxy.forward.acl.blackList') %} #