Closed lengfwong closed 3 years ago
Openwrt 17.04固件 V2ray 客户端配置Shadowsocks协议不通,测试配置提示如下:
root@LEDE:/etc/v2ray# v2ray -test -config /etc/v2ray/config.json V2Ray 4.30.0 (OpenWrt) R1 (go1.15.2 linux/mips) A unified platform for anti-censorship. main: failed to read config files: [/etc/v2ray/config.json] > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to execute v2ctl: v2ctl> Read config: /etc/v2ray/config.json v2ray.com/core/infra/conf: 0 Shadowsocks server configured. > exit status 255
config.json内容如下: { "log": { "loglevel": "warning", "access": "/var/log/v2ray.access.log", "error": "/var/log/v2ray.error.log" }, "inbounds":[
{ "protocol": "socks", "port": 1081, "settings": { "auth": "noauth", "udp": false, "ip": "0.0.0.0", "userLevel": 0 } } ], "outbounds": [ { "protocol": "shadowsocks", "settings": { "server": [ { "address": "1.1.1.1", "port": 24030, "password": "123456", "method": "xchacha20-ietf-poly1305" } ] } } ]
}
请参阅 https://www.v2fly.org/config/protocols/shadowsocks.html
Openwrt 17.04固件 V2ray 客户端配置Shadowsocks协议不通,测试配置提示如下:
root@LEDE:/etc/v2ray# v2ray -test -config /etc/v2ray/config.json V2Ray 4.30.0 (OpenWrt) R1 (go1.15.2 linux/mips) A unified platform for anti-censorship. main: failed to read config files: [/etc/v2ray/config.json] > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to execute v2ctl: v2ctl> Read config: /etc/v2ray/config.json v2ray.com/core/infra/conf: 0 Shadowsocks server configured. > exit status 255
config.json内容如下: { "log": { "loglevel": "warning", "access": "/var/log/v2ray.access.log", "error": "/var/log/v2ray.error.log" }, "inbounds":[
}