|
老毛子固件的V2ary里 ws协议无密码 ,config.json模板是咋样,百度了好久,路由器上v2瑞_config_script 改了都上不去,有没有好心人帮指点下
我是弄V2ary+Transocks
大神帮看看,我这v2瑞_config 哪里不对 (下面这个我是拿论坛里WS+tls 协议改的)
{
"log": {
"error": "/tmp/syslog.log",
"loglevel": "warning"
},
"inbound": {
"port": 1080,
"listen": "0.0.0.0",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "192.168.2.1" (我路由地址)
}
},
"outbound": {
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "xxxxx.f3322.net", (动态域名)
"port": xxx,(服务器上端口)
"users": [
{
"id": "xxx-xxxx-xxxx-xxxx-xxxxxxxx", (id按服务器上的改)
"alterId": 64,
"security": "auto"
}
]
}
]
},
"mux": {
"enabled": true
},
"streamSettings": {
"network": "ws", (服务器的协议是WS协议无密码)
"tlsSettings": null,
"tcpSettings": null,
"kcpSettings": {
"mtu": 1350,
"tti": 50,
"uplinkCapacity": 12,
"downlinkCapacity": 100,
"congestion": false,
"readBufferSize": 2,
"writeBufferSize": 2,
"header": {
"type": "wechat-video",
"request": null,
"response": null
}
},
"wsSettings": null,
"httpSettings": null
}
},
"inboundDetour": [
{
"port": "1099",
"listen": "0.0.0.0",
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"timeout": 30,
"followRedirect": true
}
}
],
"outboundDetour": [
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
}
],
"dns": {
"servers": [
"114.114.114.114",
"119.29.29.29",
"223.5.5.5"
]
},
"routing": {
"strategy": "rules",
"settings": {
"rules": [
{
"type": "chinasites",
"outboundTag": "direct"
},
{
"type": "field",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"100.100.100.100/32",
"188.188.188.188/32",
"110.110.110.110/32",
"104.160.185.171/32",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outboundTag": "direct"
},
{
"type": "chinaip",
"outboundTag": "direct"
}
]
}
}
}
|
|