概述:
我购买了一个 vps ,并在上面搭建了 v2ray; 本地 ping ip 感觉延迟还好,搭建虽然能翻出去,但非常慢,大家有什么建议么
速度测试
ip: 107.172.214.210
ping:

curl 输出连接 www.google.com
的信息, 与另一个代理,其端口为 7891 作对比;, 可以看到本地到远程的连接时间非常长,这个是因为线路问题么?
# 输出信息解释
time_namelookup:DNS 解析域名的时间
time_commect:client和server端建立TCP 连接的时间
time_starttransfer:从client发出请求;到web的server 响应第一个字节的时间
time_total:client发出请求;到web的server发送会所有的相应数据的时间
speed_download:下周速度 单位 byte/s
测试命令:
curl -o /dev/null -x socks5://127.0.0.1:7891 -s -w %{time_namelookup}—%{time_connect}—%{time_starttransfer}—%{time_total}—%{speed_download}“\n” www.google.com
自用机场测试结果:
0.000030—0.000128—0.275865—0.275897—0
VPS 测试结果:
0.000020—0.000094—3.421960—3.421982—0
搭建流程
- 购买 vps , 购买的这款,选圣何赛,ping 对比 这个延迟最小

- 服务器安装 v2ray ;
config.json
如下

- 客户端配置 v2ray;
config.json
如下
