各种vps科学上网工具

测试延迟平台,windows10, wsl

测试工具:httping

测试命令

1
2
3
4
# global
httping google.com
# socks5
httping -x 127.0.0.1:12345 google.com -5

速度测试比较

工具 average ping(google.com) max ping
ssh 800 ms 900ms
wireguard 1180 ms \
shadowsocks 900 ms(不稳定,容易中断) \
v2ray 420 ms \

wireguard比较慢,v2ray比较快,ssh和ss在中间

稳定性上ssh>v2ray=ss>wireguard

ssh

bitvise ssh client(windows客户端)

配合firefox插件foxyproxy使用

shadowsocks

Home · shadowsocks/shadowsocks Wiki

sudo pip install shadowsocks

在远程服务器上:

1
2
3
4
5
6
7
8
后台运行ss:
sudo ssserver -p 14321 -k your_password -d start

停止:
sudo ssserver -d stop

检查日志:
sudo less /var/log/shadowsocks.log

本地linux

1
sslocal -s 服务器地址 -p 服务器端口 -l 本地端端口 -k 密码 -m 加密方法

或者ssh端口转发

1
2
ssh -fND 127.0.0.1:1234 zzp@10.2.0.4 -p 9920
ssh -L 12369:localhost:12369 -R 12369:localhost:12370 -ND localhost:12345 root@138.69.29.65

卡顿出错:

1
2
3
ssh sfo2 -vvv
...
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

sudo ifconfig eno1 mtu 1454

服务器端:

1
2


GSSAPIAuthentication no
UseDNS no

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24



vi .local/lib/python3.6/site-packages/shadowsocks/crypto/openssl.py

cleanup -> reset.



[Client Area - Just My Socks](https://justmysocks.net/members/clientarea.php)



安卓手机 影梭客户端下载

https://github.com/shadowsocks/shadowsocks-android/releases



# wireguard

https://www.wireguard.com/install/

install and auto config

wget https://raw.githubusercontent.com/atrandys/wireguard/master/wireguard_install_ubuntu.sh && chmod +x wireguard_install_ubuntu.sh && ./wireguard_install_ubuntu.sh
`

v2Ray

服务器端安装

curl https://raw.githubusercontent.com/233boy/v2ray/master/install.sh > v2ray-install.sh

客户端安装

V2Ray 各平台客户端使用教程 - V2Ray 教程

windows

v2RayN-windows客户端

安卓

V2RayN 使用教程 - V2Ray 教程

v2RayNG-安卓客户端下载