当前位置: 首页 > Linux > 正文

squid.conf


squid.conf:
http_port 3128
visible_hostname tianwei-itrus
cache_mem 64 MB
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl admin src 10.20.0.0/255.255.255.0

http_access allow admin
acl server src 10.20.0.0/255.255.255.0

auth_param basic program c:/squid/libexec/ncsa_auth.exe c:/squid/etc/passwd
auth_param basic children 5
auth_param basic credentialsttl 1 hours
auth_param basic realm ZhengZhou Central Hospital
acl zzszxyy proxy_auth REQUIRED
http_access allow zzszxyy
http_access allow server

acl SSL_ports port 443
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 1863
acl Safe_ports port 777
acl CONNECT method CONNECT
http_access allow localhost manager
http_reply_access allow all
icp_access allow all
http_access deny all


echo passwd
admin:2BYY9GlexLjMk

本文固定链接: http://t.yjsec.com/index.php/2018/02/08/316/ | 下一站

该日志由 admin 于2018年02月08日发表在 Linux 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: squid.conf | 下一站
【上一篇】
【下一篇】

squid.conf:等您坐沙发呢!

发表评论

快捷键:Ctrl+Enter