LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 673|回复: 4

关于squid代理上网问题 :help:help:help:help:help:help:help:help

[复制链接]
发表于 2004-12-14 13:39:21 | 显示全部楼层 |阅读模式
:help :help :help :help :help :help :help :help :help :help :help
我的是机子是双网卡 adsl,其中一个接的是adsl(eth1) 另一个接的是局域网(eth0)
eth1=192.168.1.1 (adsl是用的PPPOE上网)
eth0=192.168.0.1
squid 启动正常
acl如下
acl allowed_client src 192.168.0.1-192.168.0.254/255.255.255.0
http_access allow allowed_client
http_access deny allowed_client
服务器能上网
客户机在连接写入192.168.0.1:3128
不能上网
提示访问控制有问题,是/etc/squid/errors目录下的一个错误页
好像写的是access ditner

不知道为什么。。。:help :help
发表于 2004-12-14 14:05:42 | 显示全部楼层
http_access allow allowed_client
http_access deny all
发表于 2004-12-14 14:13:07 | 显示全部楼层
http_access allow allowed_client
http_access deny allowed_client

没细看,不过为两句矛盾吧。
 楼主| 发表于 2004-12-14 17:39:49 | 显示全部楼层
http_access allowed_client
htpp_access !allowed_client
发表于 2004-12-14 17:44:52 | 显示全部楼层
就是解决了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表