LinuxSir.cn,穿越时空的Linuxsir!

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

错误纠正:squid:我把所有的配置文件都传上来了,请各位看看吧! ----请各位看看。

[复制链接]
发表于 2005-4-27 17:39:45 | 显示全部楼层 |阅读模式
squid.conf中的相关acl块:
acl othermac arp "/etc/squid/squid-othermac.txt"
acl mac arp "/etc/squid/squid-mac.txt"
acl ip dst "/etc/squid/squid-ip.txt"
acl url dstdomain src "/etc/squid/squid-url.txt"
http_access allow mac
http_access deny !ip
http_access allow othermac
http_access deny all
说明:squid-othermac.txt中是只能够上公司总部网址而不能够上外界网的所有mac码,squid-mac.txt是能够上所有的网址(不仅包含公司总部网址)的所有mac码,squid-ip.txt是公司总部网址的所有IP,squid-url.txt是公司总部网址的地址:http://2233.3322.org,下面的 ... 下,谢谢了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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