55和Kxptxn设置备忘

Debian 9源里就有libev
8可以启用backports:

sh -c 'printf "deb http://httpredir.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list'
apt-get update
apt-get -t jessie-backports install xxxxxxxxxx-libev

/etc/xxxxxxxxxxx-libev.json

{
    "server":"0.0.0.0",
    "server_port":11919,
    "local_address":"127.0.0.1",
    "local_port":1080,
    "password":"xxxxxx",
    "timeout":600,
    "method":"aes-256-cfb"
}

然后可以直接用systemd

systemctl enable/start xxxxxxxxxx-libev

kxptxn
https://github.com/xtaci/kcptun/releases/download/v20180316/kcptun-linux-amd64-20180316.tar.gz
https://github.com/xtaci/kcptun/releases/download/v20180316/kcptun-linux-386-20180316.tar.gz

解压后
kcp.sh

./server_linux_amd64 -t "SERVERIP:11919" -l ":11918" -mode fast2

screen运行

client:

"client_windows_amd64.exe" -l :11919 -r SERVERIP:4000 -mode fast2

此处评论已关闭