User Tools

Site Tools


linux:kcptun

This is an old revision of the document!


kcptun

kcptun usage with shadowsocks

start the server

On you VPN, you should already run your shadowsocks server with port '838'

alias kcptun_start='~/kcptun/server_linux_amd64 -t "127.0.0.1:838" -l ":4000" -mode fast2'

or just use the command

./kcptun/server_linux_amd64 -t "127.0.0.1:838" -l ":4000" -mode fast2

start client

So in your local machine, start the client:

sudo ./client_darwin_amd64 -r "xxx.pjq.me:4000" -l ":838" -mode fast2

Now we have set the connection from local port 838 to the remote port 4000.

config your shadowsocks

Set the server to localhost/127.0.0.1, and the port 838

/var/www/dokuwiki/wiki/data/attic/linux/kcptun.1515043381.txt.gz · Last modified: 2018/01/04 13:23 by percy