kcptun install on server and client

Kcptun使用教程,kcp安装配置教程,kcptun一键安装脚本

http://blog.csdn.net/londa/article/details/70905543

一步一步教你用Kcptun给Shadowsocks加速!看YouTube1080P一点都不卡!

kcptun 安装目录  /usr/local/kcptun

kcptun进程名称  server_linux_amd64

kcptun 操作    supervisorctl start kcptun          supervisorctl stop kcptun              supervisorctl restart kcptun

kcptun 配置文件   server-config.json

配置文件中IP设置不能设置127.0.0.1   要设置外网IP

iptables -I INPUT -p udp –dport 29900 -j ACCEPT    //防火墙设置

 

kcptun 参数配置

服务端: -mtu 1400 -sndwnd 2048 -rcvwnd 2048 -mode fast2 -dscp 46

{
“listen”: “:29900”,
“crypt”: “aes”,
“mode”: “fast2”,
“mtu”: 1400,
“sndwnd”: 2048,
“rcvwnd”: 2048,
“datashard”: 10,
“parityshard”: 3,
“dscp”: 46,
“nocomp”: false,
“pprof”: false
}

客户端: -mtu 1400 -sndwnd 256 -rcvwnd 2048 -mode fast2 -dscp 46

 

 

手机客户端突然不能连接:解决方法:enable-ipv6选项选中,重启客户端

华为手机默认禁止kcp插件后台启动, 在手机管家-》权限管理中设置     手机管家-》应用关联-》关联启动中设置

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.