Skip to content

xray reverse proxy configuration two bridges #4725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
l140w4n9 opened this issue May 14, 2025 · 2 comments
Closed

xray reverse proxy configuration two bridges #4725

l140w4n9 opened this issue May 14, 2025 · 2 comments
Labels
not following template Will be closed in one day

Comments

@l140w4n9
Copy link

{
"reverse":{
"portals":[
{"tag":"portal1", "domain":"private1.cloud.com"},
{"tag":"portal2", "domain":"private2.cloud.com"}
]
},
"inbounds":[
{
"tag":"tunnel1",
"port":31957,
"listen": "0.0.0.0",
"protocol": "socks",
"settings": {
"auth": "password",
"accounts": [
{"user": "username", "pass": "username"}
],
"udp": true,
"ip": "0.0.0.0",
"userLevel": 0
}
},
{
"tag":"tunnel2",
"port":31958,
"listen": "0.0.0.0",
"protocol": "socks",
"settings": {
"auth": "password",
"accounts": [
{"user": "username", "pass": "password"}
],
"udp": true,
"ip": "0.0.0.0",
"userLevel": 0
}
},
{
"tag": "interconn",
"port":443,
"protocol":"vless",
"settings":{
"clients":[
{"id":"9E0AAF87-971B-475B-BFD3-83B075A25A42"}
],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/colod"
},
"security": "tls",
"tlsSettings": {
"certificates": [
{ "certificateFile": "cloud.wpbom.com.crt", "keyFile": "cloud.wpbom.com.key"}
],
"allowInsecure": true,
"fingerprint": "random"
}
}
}
],
"routing": {
"rules": [
{"type":"field", "inboundTag":["tunnel1"], "outboundTag":"portal1"},
{"type":"field", "inboundTag":["tunnel2"], "outboundTag":"portal2"},
{"type":"field", "inboundTag":["interconn"], "outboundTag":"portal1", "domain":["full:private1.cloud.com"]},
{"type":"field", "inboundTag":["interconn"], "outboundTag":"portal2", "domain":["full:private2.cloud.com"]}
]
}
}

I used the above configuration to prepare two bridges, but the first bridge can work normally, but the second bridge cannot communicate. Can anyone tell me why? Thank you so much.

@Fangliding
Copy link
Member

未遵照模板

@Fangliding Fangliding closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2025
@l140w4n9
Copy link
Author

未遵照模板

你好,我看到的模板都是关于一个bridge配置,有关于两bridge案例吗?希望大佬给点帮助。

@Fangliding Fangliding added the not following template Will be closed in one day label May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not following template Will be closed in one day
Projects
None yet
Development

No branches or pull requests

2 participants