- 论坛徽章:
- 0
|
关于squid需要注意的一些问题及不足
原帖由 "zbyue"]FAQ说做不到,实际上在2.5以后的版本就已经可以了,但http_access语句放的时候顺序是最重要的。[/quote 发表:
我用的是squid-2.5.9,自行编译安装
在不用透明代理的时候,在IE里面指定代理地址,可以出现认证框
如果用iptables直接指向3128,浏览时会直接出现一个squid的错误页面
[quote]
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.163.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.
--------------------------------------------------------------------------------
Generated Wed, 27 Apr 2005 23:45:08 GMT by PT-Proxy (squid/2.5.STABLE9)
我又重新分析了你的规则
- http_access deny denyip
- http_access deny mmxfile
- http_access deny !allowed_mac
- http_access deny !allowed_ip
- http_access allow auth_user allowed_mac
- http_access allow all
复制代码
你如果删掉最后一个allow all,是不是透明代理就无效了?
你现在的状态是不是虽然能够透明代理,但是不能出现认证框,或者认证不能通过?
你试试去掉allow all是什么情况? |
|