xray配置请教

26次阅读

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

原本的 xray 配置是 netflix 流量走新加坡小鸡,现在需要加一条 disney 的流量走这个新加坡小鸡的 v6 出,自己改了几次都是改崩了,有没有大佬指导一下
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 30000,
"protocol": "socks",
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"tag": "netflix_proxy",
"protocol": "shadowsocks",
"settings": {
"servers": [
{
"address": "xxxx. 新加坡小鸡.xxx",
"method": "aes-256-gcm",
"ota": false,
"password": "4xxx/xxxxxxxxxxxx",
"port": 5xxx0,
"level": 1
}
]
},
"streamSettings": {
"network": "tcp"
},
"mux": {
"enabled": false,
"concurrency": -1
}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"levels": {
"0": {
"handshake": 10,
"connIdle": 100,
"uplinkOnly": 2,
"downlinkOnly": 3,
"statsUserUplink": true,
"statsUserDownlink": true,
"bufferSize": 10240
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "netflix_proxy",
"domain": [
"geosite:netflix"
]
},
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
ipv4 还是 ipv6 出栈要在落地机上配置,中转机控制不了这个

正文完
 0