Xray-examples/ReverseProxy/VLESS-TCP-XTLS-WS/bridge.jsonc
2024-10-21 11:49:47 -04:00

70 lines
1.3 KiB
Plaintext

{
"log": {
"loglevel": "warning"
},
"reverse": {
"bridges": [
{
"tag": "bridge",
"domain": "reverse.proxy"
}
]
},
"outbounds": [
{
"tag": "interconn",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "reverse.example", // 换成你的域名或 IP
"port": 443,
"users": [
{
"id": "", // 填写你的 UUID
"encryption": "none",
"level": 0
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "reverse.example" // 换成你的域名
},
"wsSettings": {
"path": "/interconn" //对应 portal 中 interconn 的 path
}
}
},
{
"protocol": "freedom",
"settings": {},
"tag": "out"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"bridge"
],
"domain": [
"full:reverse.proxy"
],
"outboundTag": "interconn"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"outboundTag": "out"
}
]
}
}