个人工具

用户讨论:冰刃雪飘

来自Ubuntu中文

冰刃雪飘讨论 | 贡献2015年1月7日 (三) 23:27的版本 (以内容'以下是我的squid.conf文件的配置。 squid状态是:squid3 stop/waiting。 squid可以访问外网,客户端可以ping通squid服务器 acl SSL_ports port 443 ac…'创建新页面)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

以下是我的squid.conf文件的配置。 squid状态是:squid3 stop/waiting。 squid可以访问外网,客户端可以ping通squid服务器 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 !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow localhost manager http_access deny manager

http_access allow localhost

http_access permit all

http_port 3128

acl all src 0.0.0.0/0

cache_mem 256 MB

cache_dir ufs /var/spool/squid3 100 16 256

cache_swap_low 90
cache_swap_high 95

cache_access_log /var/squid/access.log

cache_store_log /var/squid/store.log

client_netmask 255.255.255.255

coredump_dir /var/spool/squid3

refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880 refresh_pattern . 0 20% 4320 但是客户端的无法通过代理服务器访问网页:“internat explorer无法显示网页” 求大家帮帮忙,帮看看