我按照指南进行操作http://doxfer.webmin.com/Webmin/SquidProxyServer我正在尝试设置 Squid 代理服务器,但是当我尝试通过代理连接时出现以下错误:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://google.com
The following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is webmaster.
答案1
听起来你的 acl 列表有问题。你能更新一下你的 acl/allow 行吗?
它看起来应该是这样的:取自:http://wiki.squid-cache.org/SquidFaq/SquidAcl
How do I allow my clients to use the cache? Define an ACL that corresponds to your client's IP addresses. For example:
acl myclients src 172.16.5.0/24
Next, allow those clients in the http_access list:
http_access allow myclients