|
我的squid.conf 如下:
acl all src 0.0.0.0/0.0.0.0
acl person src 10.9.9.88
acl computer src 10.9.9.10
acl time_acl time SMTWHFA 7:30-23:30
acl allow_site dstdomain .google.com .sina.com.cn .sina.com
acl allports port 0-1024
acl webports port 80
acl ftpports port 21
acl CONNECT method CONNECT
#该IP不受限制
http_access allow computer
#该IP只能在时段内使用80端口访问某些站点
http_access allow person time_acl allow_site webports
http_access deny allports
http_access deny all
但是好像控制不了?
是不是后面的顺序有问题?
究竟应该怎么写? |
|