在反向代理时bridge始终连接不上 #4918
Answered
by
kmzs123
smallshuipu
asked this question in
Q&A
在反向代理时bridge始终连接不上
#4918
-
我已经在本地网络测试了,甚至在同一台电脑上搭建bridge和portals,但是还是连接不上
|
Beta Was this translation helpful? Give feedback.
Answered by
kmzs123
Sep 11, 2025
Replies: 1 comment 2 replies
-
你的配置不正确吧,服务端是两个进口不需要出口,客户端是两个出口。 服务端 {
"inbounds": [
{
"port": 8888,
"protocol": "http",
"tag": "interconn"
},
{
"port": 2001,
"protocol": "http",
"tag": "tunnel"
}
],
"outbounds": [
],
"reverse": {
"portals": [
{
"tag": "portal",
"domain": "reverse.proxy"
}
]
},
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"interconn",
"tunnel"
],
"outboundTag": "portal"
}
]
}
} 客户端 {
"outbounds": [
{
"protocol": "wireguard",
"tag": "warp"
},
{
"protocol": "http",
"tag": "to-bridge",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 2001
}
]
}
}
],
"reverse": {
"bridges": [
{
"tag": "bridge",
"domain": "reverse.proxy"
}
]
},
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"bridge"
],
"domain": [
"full:reverse.proxy"
],
"outboundTag": "to-bridge"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"outboundTag": "warp"
}
]
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现在不用这么麻烦了🤣