使用x-ui构建的sockets协议无法通过中转链接 #2658
Unanswered
FelixYe8818
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
落地机x-ui上面设置的xray配置:
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
},
"tag": "api"
}
],
"outbounds": [
{
"tag": "ip1",
"sendThrough": "211.62.61.59",
"protocol": "freedom",
"settings": {}
},
{
"tag": "ip2",
"sendThrough": "211.62.61.60",
"protocol": "freedom",
"settings": {}
},
{
"tag": "ip3",
"sendThrough": "211.62.61.61",
"protocol": "freedom",
"settings": {}
},
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"policy": {
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true
}
},
"routing": {
"rules": [
{
"inboundTag": [
"inbound-61001","inbound-61001"
],
"outboundTag": "ip1",
"type": "field"
},
{
"inboundTag": [
"inbound-61002","inbound-61002"
],
"outboundTag": "ip2",
"type": "field"
},
{
"inboundTag": [
"inbound-61003","inbound-61003"
],
"outboundTag": "ip3",
"type": "field"
},
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
},
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
},
{
"outboundTag": "blocked",
"protocol": [
"bittorrent"
],
"type": "field"
}
]
},
"stats": {}
}
落地机使用的是sockets5协议,使用任意工具在电脑与手机上都能够正常的链接。
中转机使用x-ui的dokodemo-door协议转发到落地机的IP与端口,显示能够链接,但是TCP与UDP通讯失败。
Beta Was this translation helpful? Give feedback.
All reactions