kcptun_and_shadowsocks

Server Parameters

1
su -s /bin/bash nobody -c './server_linux_amd64 -l "vps_ip:kcptun_port" -t "serer_ip:shadowsocks_port" -key yourkeyfile -mode fast2 --crypt aes-128 --datashard 10 --parityshard 3'

Client Parameters

1
./client_linux_amd64 -r "vps_ip:kcptun_port" -l ":kcptun_client_port" -key yourkeyfile -mode fast2 --crypt aes-128 --datashard 10 --parityshard 3

Modify shadowsocks config

1
2
"server":"127.0.0.1",
"server_port":kcptun_client_port,

Browser proxy setting no changed (local port of shadowsocks client)

Some of issues

There is no “localhost/127.0.0.1” in openvz envirnoment, you need replace it by ip address