Xray-core
Xray-core copied to clipboard
socks入站无法使用路由balancers
socks入站无法使用路由balancers
复现方法?
复现方法?
机器上一个网卡添加多个IP,出站sendThrough使用这些ip,然后走socks代理入站。测试socks无法随机使用这些ip出站(随机固定一个ip),使用http代理就正常
"inbounds":[
{
"listen":"127.0.0.1",
"port":10809,
"protocol":"socks",
"tag":"socks"
},
{
"listen":"127.0.0.1",
"port":"10808",
"protocol":"http",
"tag":"http"
}
]
"outbounds":[
{
"sendThrough":"ipa",
"protocol":"freedom",
"tag":"tag_6c"
},
{
"sendThrough":"ipab",
"protocol":"freedom",
"tag":"tag_3e"
},
{
"sendThrough":"ipc",
"protocol":"freedom",
"tag":"tag_1e"
},
"balancers":[
{
"tag":"ro",
"selector":[
"tag"
]
}
]
你配了socks的规则么?我是这样配置的:
{ "type": "field", "balancerTag": "apric", "inboundTag": [ "go-apric", "socks5" ] },
此外你的,balancers只导入了出口标签,你让它怎么随机轮询,无论怎么随机也只能在唯一的出口出去啊!
no response