Centos系统下载大全 | Redhat系统下载大全 | Windows2012系统下载大全 | Windows2008系统下载大全| CMS教程 | 网站地图 51运维网-专注Linux/Unix系统安全运维!
当前位置:51运维网 > 微软 > Windows网络管理 > 正文

windows 2008 squid3.0 配置反向代理服务器

时间:2014-11-12 22:37 来源:未知 作者:www.51ou.com 阅读:

acl manager proto cache_object

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 allow  all

#http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

 

http_access allow localnet

 

icp_access allow localnet

icp_access deny all

visible_hostname  squidserver1

htcp_access allow localnet

 

http_port 80 vhost vport

hierarchy_stoplist cgi-bin ?

 

cache_mem 100 MB

access_log c:/squid/var/logs/access.log squid

cache_log c:/squid/var/logs/cache.log

cache_store_log c:/squid/var/logs/store.log

cache_peer 192.168.33.129 parent 18080 0  no-query originserver no-digest name=upaicn

cache_peer_domain upaicn  youjie.co

cache_peer_access upaicn  allow all

 

refresh_pattern ^ftp:144020%10080

refresh_pattern ^gopher:14400%1440

refresh_pattern (cgi-bin|\?)00%0

refresh_pattern .020%4320

 

icp_port 3130

coredump_dir c:/squid/var/cache

 

 

 

cache_peer 192.168.33.129 parent 18080 0 no-query originserver no-digest name=dycc_uid7_cn

cache_peer_domain dycc_uid7_cn youjie.co

cache_peer_access dycc_uid7_cn   allow all

 

 

cache_peer 192.168.33.129 parent 28080 0  no-query originserver no-digest name=u_pai_cn

cache_peer_domain  u_pai_cn u-pai.cn

cache_peer_access u_pai_cn  allow all

感谢您对【51运维网 http://www.51ou.com/】的支持,我们为您免费提供《windows 2008 squid3.0 配置反向代理服务器》技术文章,《windows 2008 squid3.0 配置反向代理服务器》详细使用和说明,有时《windows 2008 squid3.0 配置反向代理服务器》可能不完善、敬请谅解!如果《windows 2008 squid3.0 配置反向代理服务器》有错误请给我们留言,我们将尽快修复文章错误,如果您觉得本站不错,请分享给周围的朋友!谢谢!

顶一下
(0)
0%
踩一下
(0)
0%
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
验证码:点击我更换图片