|
|
声明:我绝对不是乱发贴,而是刚才发过的,在后面一部分就看得乱码了,为了让大家看明白,我再打的:)
--------------------------------------------------------------------------------
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,下面的 ... 次表示感谢。 |
|