您好,登錄后才能下訂單哦!
http://squid.acmeconsulting.it/
也可以使用附件中的文件,該配置使用squid-2.7.STABLE8版本
解壓到C盤(pán),命名為squid
4.2拷貝mime.conf.default為mime.conf
4.3拷貝cachemgr.conf.default為cachemgr.conf
acl manager proto cache_object
acl all src all
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#http_access deny sex
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access allow CONNECT !SSL_ports
http_access allow localnet
http_access deny all
icp_access allow localnet
icp_access deny all
htcp_access allow localnet
htcp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs d:/var/cache 100 16 256
access_log d:/var/logs/access.log squid
cache_log d:/var/logs/cache.log
cache_store_log d:/var/logs/store.log
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_mgr 13560794518@163.com
cache_effective_user squid
cache_effective_group squid
visible_hostname syprox.monitor.greatwall.com.cn
icp_port 3130
coredump_dir d:/var/cache
C:\squid\sbin\squid.exe -z
會(huì)在D:\cache下面發(fā)現(xiàn)16個(gè)目錄
以管理員身份運(yùn)行cmd
C:\squid\sbin\squid.exe -i -n squid_proxy 服務(wù)名字為squid_proxy
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。