- 论坛徽章:
- 0
|
回复 #1 zenoone 的帖子
配置问题吧!我把我的squid.conf贴出来,看有没有你可以借鉴的地方,
http_port 10.10.10.10:3128
cache_mem 64 MB
cache_dir ufs /var/spool/squid 4096 16 256
cache_effective_user squid
cache_effective_group squid
dns_nameservers 202.106.46.151
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
visible_hostname 10.10.10.10
cache_mgr xiejiaxie98@163.com
#acl all src 0.0.0.0/0.0.0.0
#http_access allow all
#[auth]
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic credentialsttl 5 hours
auth_param basic realm Squid proxy-caching
acl auth_user proxy_auth REQUIRED
http_access allow auth_user
我的是带认证的,你如果不需要就把他注销掉,然后acl启用就可以了. |
|