使用Squid Proxy 限制只能瀏覽特定網站,編輯 /etc/squid.conf 設定檔
acl alldst_ip dst 0.0.0.0/0.0.0.0
acl MS dstdomain .microsoft.com .microsoft.com.tw .windowsupdate.com
acl symantec dstdomain .symantec.com
acl AB dstdomain .ab.com
acl ip1 dst 192.168.1.1/255.255.255.255
acl cd dst www.cd.orghttp_access allow MS
http_access allow symantec
http_access allow AB
http_access allow ip1
http_access allow cd
http_access deny alldst_ip#
# And finally deny all other access to this proxy
http_access allow all
http_access deny all
沒有留言:
張貼留言