Open
Description
你好,SS使用正常,非常感谢,想尝试一下Kcptun,遇到问题,想请教。
将 /config/shadowsocks/conf/kcptun.json.disable
的内容修改成以下:
{
"localaddr": ":1081",
"remoteaddr": "VPS:KCPTUN端口",
"key": "密码",
"crypt": "none",
"mode": "fast",
"conn": 1,
"autoexpire": 300,
"mtu": 1350,
"sndwnd": 512,
"rcvwnd": 128,
"datashard": 10,
"parityshard": 3,
"dscp": 0,
"nocomp": false,
"acknodelay": false,
"nodelay": 0,
"interval": 20,
"resend": 2,
"nc": 1,
"sockbuf": 4194304,
"keepalive": 10,
"snmplog": "/var/log/kcptun_snmp_log.csv",
"snmpperiod": 0
}
然后重命名为kcptun.json
, /etc/init.d/shadowsocks restart
/etc/init.d/shadowsocks status
报错
[FAIL] ss-redir is not running ... failed!
[ ok ] ss-local is running.
[FAIL] redsocks is not running ... failed!
是不是因为kcptun的配置有问题?能不能指导下?
FYI,kcptun服务器端是用脚本装的,[v20]Kcptun 服务端一键安装脚本
生成的配置如下
{
"localaddr": ":VPS上的SS监听端口",
"remoteaddr": "VPS:KCPTUN端口",
"key": "密码",
"crypt": "none",
"mode": "fast",
"mtu": 1350,
"sndwnd": 128,
"rcvwnd": 512,
"datashard": 10,
"parityshard": 3,
"dscp": 0,
"nocomp": false,
"quiet": true
}
Metadata
Metadata
Assignees
Labels
No labels