请教大佬X-ui如何一拖二链式
是这样,机子在US,需要拉SG专门看流媒体,但除此之外其余情况比如google啥的需要走UA,相当于US纯拉后面俩,全程US不用,就是一个一拖二的链式,在v2我会,但最近换X-ui在配置里怎么改都不生效,请教大佬!
- { "api": { "services": [ "HandlerService", "LoggerService", "StatsService" ], "tag": "api" }, "inbounds": [ { "listen":"127.0.0.1", "port":1089, "protocol":"socks", "tag": "in", "settings":{ "udp":true } }, { "listen": "127.0.0.1", "port": 62789, "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" }, "tag": "api" } ], "outbounds": [ { "protocol": "freedom", "settings": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" }, { "tag": "给流媒体专门走一个", "protocol": "vmess", "streamSettings": { "network": "ws", "security": "tls", "tlsSettings": { "allowInsecure": false }, "wsSettings": { "path": "XXX" } }, "mux": { "enabled": true, "concurrency": 8 }, "settings": { "vnext": [ { "address": "XXX", "port": XXX, "network": "tcp,udp", "users": [ { "id": "XXX", "security": "auto", "alterId": 0 } ] } ] } }, { "tag": "其他的走这个", "protocol": "shadowsocks", "settings": { "servers": [ { "address": "XXX", "port": XXX, "method": "XXX", "password": "XXX", "ota": false, "level": 1 } ] } } ], "policy": { "levels": { "0": { "handshake": 10, "connIdle": 100, "uplinkOnly": 2, "downlinkOnly": 3, "statsUserUplink": true, "statsUserDownlink": true, "bufferSize": 10240 } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "rules": [ { "inboundTag": [ "in" ], "type": "field", "outboundTag": "给流媒体专门走一个", "domain": [ "geosite:netflix", "geosite:disney" ] }, { "inboundTag": [ "in" ], "outboundTag": "其他的走这个", "type": "field" }, { "ip": [ "geoip:private" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" } ] }, "stats": {}}