proxychains and kcptun

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

Start dropbox by proxy

1
2
3
4
5
6
7
8
9
10
11
12
13
proxychains4 ~/.dropbox-dist/dropboxd &

cat /etc/proxychains.conf
strict_chain
proxy_dns
remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000
localnet 127.0.0.0/255.0.0.0
quiet_mode

[ProxyList]
socks5 127.0.0.1 your_porxy_port_number