http_port 192.168.4.5:3128
cache_mem 150 MB
cache_dir ufs /var/spool/squid 2000 16 256
cache_effective_user squid
cache_effective_group squid
dns_nameservers 211.151.228.70
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
visible_hostname 211.151.228.70
#acl noauth_user src 172.20.190.208/255.255.255.255 # 后边带#号的是不用密码访问的,其他的机器都要密码访问
#acl noauth_user src 172.20.185.50/255.255.255.255 #
#acl noauth_user src 172.20.190.77/255.255.255.255 #
#acl noauth_user src 172.20.191.85/255.255.255.255 #
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
#auth_param basic children 5
#auth_param basic credentialsttl 10 hours
#auth_param basic realm sovo
#acl auth_user proxy_auth REQUIRED
#acl all src 0.0.0.0
#http_access allow noauth_user
#http_access allow auth_user
复制代码