Squid 如何限制某IP的端口?

由 aabcdefg 在 05-06-2003 19:57 发表:

Squid 如何限制某IP的端口?

我的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

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus