解决方法
示例:
我阻止了Facebook& orkut给所有用户,但现在我想只打开特定用户或IP的Facebook
acl special_clients src “/etc/squid/special_client_ips.txt”
acl facebook dstdomain .facebook.com
acl orkut dstdomain .orkut.com
在http访问下
http_access allow facebook special_clients
http_access deny facebook
http_access deny orkut
http_access allow all
选项2:将客户端IP和目标域粘贴到列表中,
acl special_clients src “/etc/squid/special_client_ips.txt”
acl bad_domains dstdomain “/etc/squid/bad_domains.txt”
在http访问下
http_access allow bad_domains special_clients
http_access deny bad_domains
http_access allow all
>我从网上得到它,它工作得很好>谢谢cstamas