[附脚本]简单的squid(代理服务器)问题
c9cad 2007-02-05 09:08:46
#配置脚本如下:
visible_hostname localhost
http_port 192.168.1.6:3128
# 服务器配置
cache_mgr c8844c-bbs@yahoo.com.cn
# 用户分类
acl advance src 192.168.1.1-192.168.1.20/23
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl all src 0.0.0.0/0.0.0.0
# 处理
http_access deny !Safe_ports
http_access allow advance
http_access deny all
===============================================================
用上面这个配置后,所有的客户都可以上网,我希望192.168.1.1-192.168.1.20才能上网,怎么不行呢?谢谢大家!