免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1470 | 回复: 1
打印 上一主题 下一主题

[proxy] squid配置的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-01-13 13:53 |只看该作者 |倒序浏览
安装MDK8.2的机器,内网ip10.15.1.15 外网接一个tp-link的路由,分给外网的ip是192.168.1.60,已经配置好内、外网网卡。squid按照以下方式配置:

http_prot  3128
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
cache_effective_user nobody
cache_effective_group nobody
http_access allow all
cache_dir ufs /usr/local/squid/cache 100 16 256
把客户机的IE里设置好代理10。15。1。15:3128,但访问失败,提示为:
ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://www.chinaunix.net/

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 root.



--------------------------------------------------------------------------------
Generated Thu, 13 Jan 2005 13:38:05 GMT by www (Squid/2.4.STABLE4)
请问是什么原因:
squid是系统默认的安装。包括防火墙也是装系统时一起装上去的。squid所属用户和组均为:squid

论坛徽章:
0
2 [报告]
发表于 2005-01-15 15:12 |只看该作者

squid配置的问题

怎么不在http_prot 上加在局域网的IP呀.
http_prot 10.15.1.15:3128
还有看看你的iptables 开没开80端口.
在不行, 就加我QQ  11217404
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP