xui中转配置

72次阅读

共计 1382 个字符,预计需要花费 4 分钟才能阅读完成。

网上搜的,这方法适用吗,按照这个设置了 nf 打不开,是哪步有问题么
{
"api": {
"services": <[br /> "HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": <[br /> {
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": <[br /> {
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"tag": "VPS1" , // 这里能用别的名称,能和路由中的 outboundTag 对上即可
"protocol": "vmess", // 协议
"settings": {
"vnext": [{
"address": "1.2.3.4", //ip 地址也可填写域名
"port": 10086, // 端口
"users": [{
"id": "f0e161c1-b741-475a-f05c-5a9230ef44c8",//id 在 x -ui 增加入站的时候会自动生成
"security": "auto", // 加密 默认 auto 即可
"alterId": 0// 按实际填写
}]
}]
}
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": <[br /> {
"inboundTag": <[br /> "api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": <[br /> "geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": <[br /> "bittorrent"
],
"type": "field"
},
{
"type": "field",
"outboundTag": "VPS1", // 这里能用别的名称,能和出站中的 Tag 对上即可
"domain": ["geosite:netflix"] // netflix 走 VPS1
}
]
},
"stats": {}
} 复制代码

老姨子解锁 YYDSinbound 要打开 "sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
}
},

lovecan 发表于 2022-11-30 10:43
inbound 要打开 "sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]

这段直接添加到 inbound 里就行吗

paggy 发表于 2022-11-30 10:47
这段直接添加到 inbound 里就行吗

是,参考 https://toutyrater.github.io/app/netflix.htmlhttps://bulianglin.com/archives/netflix-unlock.html

正文完
 0