扩展资料:
连接不了服务器。
解决方法:
XX-Net-363\data\gae_proxy\ 目录下创建 manualini 文件
配置文件格式:
[listen]
ip = 127001 ;<- 代理服务监听的IP
port = 8087 ;<- 代理服务监听的端口
[gae]
public_appid = ;<- 公共AppID
appid = ;<- 私人AppID,可在Web UI中部署,参见[[创建自己的appid|how to create my appids]]
password = ;<- AppID的密码
validate = 1 ;<- GAEProxy服务端开启>
[hosts]
; 目前支持模式:gae,fwd,direct
; gae 通过Goggle App Engine进行转发,最稳定,但不支持OPTIONS等高级指令。
; direct 建立TCP连接后,交给浏览器自己握手通讯,不替换证书,容易被GFW检测到。
; fwd 替换证书,修改连接握手过程,相对比较隐蔽,支持OPTIONS等高级指令。
scholargooglecom = direct
codegooglecom = direct
clients5googlecom = direct
clients6googlecom = direct
uploaddocsgooglecom = direct
mailgooglecom = direct
commondatastoragegoogleapiscom = gae
;gcn = direct
[br_sites]
; simple work arround:
; site return br encoding, will not send gzip in Accept-Encoding except browser support br
webcachegoogleusercontentcom = br
[autorange]
; 分片下载:在服务端发现超出最大大小后,自动分片下载。
threads = 3 ;<- 默认下载线程数
maxsize = 1572864 ;<- 分片下载大小
waitsize = 524288 ;<- 首次读写量,一般无需修改
bufsize = 8192 ;<- 后续读写量,一般无需修改
[pac]
; 自动代理
enable = 1
ip = 127001
port = 8086
file = proxypac ;<- 可替换为个人的pac文件:将个人的pac文件(例如myproxypac)放到code\default\gae_proxy\local文件夹下,此行改为“file = myproxypac”
gfwlist = >
;adblock = >
;adblock 项目已经停止维护更新
expired = 86400
[proxy]
; 局域网代理/前置代理:一般无需设置,只有那些需要通过内部代理访问外网的用户才需要设置。
enable = 0 ;<- 是否启用
type = >
host = 127001 ;<- 代理服务器地址
port = 8888 ;<- 代理服务器端口
user = ;<- 代理用户名
passwd = ;<- 代理密码
[control]
; >
enable = 1
ip = 127001
port = 8084
[switch_rule]
; 若proxy_hosts_only非空,则仅代理这些hosts。
proxy_hosts_only =
[google_ip]
; IP扫描、管理模块
ip_source = ip_range ;<- IP源:可选ip_range,ip_pool(仅IPv4时有效)
use_ipv6 = auto ;<- 使用IPv6情况:可选auto,force_ipv4,force_ipv6
ipv6_scan_ratio = 50 ;<- 扫描IPv6的比例(仅use_ipv6 = auto时有效)
auto_adjust_scan_ip_thread_num = 1 ;<- 是否自动调整扫描线程数
max_scan_ip_thread_num = 10 ;<- 扫描IP的最大线程数
max_good_ip_num = 3000 ;<- 保留的最大IP数
max_links_per_ip = 1 ;<- 每个IP保留的最大连接数
ip_connect_interval = 5 ;<- 单个IP连接的间隔:太小容易被发现,太大影响性能,要根据自己的网络状态调整
record_ip_history = 0 ;<- 记录IP历史
[connect_manager]
; 连接管理器的参数
>
>
>
>
keep_active_timeout = 600 ;<- 连接池保持连接超时
>
connect_interval = 40 ;<- 单个IP连接的时间间隔
forward_max_connect_thread = 10 ;<- fwd模式的最大连接数
[system]
log_file = 0
do_profile = 0
[love]
; 保留GoAgent的爱心广告
enable = 0
tip = \u8bf7\u5173\u6ce8\u5317\u4eac\u5931\u5b66\u513f\u7ae5~~
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)