Files
server/xray-旁路由-config.json

213 lines
4.1 KiB
JSON

{
"log": {
"loglevel": "info"
},
"reverse": {
"bridges": [
{
"tag": "bridge",
"domain": "reverse-proxy.xray.internal"
}
]
},
"outbounds": [
{
"tag": "to_nas",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.188:9443"
}
},
{
"tag": "to_siyuan",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.188:5005"
}
},
{
"tag": "to_wsl",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.177:22"
}
},
{
"tag": "to_nas_ssh",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.188:22"
}
},
{
"tag": "to_router_ssh",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.199:22"
}
},
{
"tag": "to_router_web",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.199:80"
}
},
{
"tag": "to_minecraft",
"protocol": "freedom",
"settings": {
"redirect": "127.0.0.1:39132"
}
},
{
"tag": "to_tmp",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.177:8501"
}
},
{
"tag": "to_3000",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.188:3000"
}
},
{
"tag": "to_222",
"protocol": "freedom",
"settings": {
"redirect": "192.168.1.188:222"
}
},
{
"tag": "interconn",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "salmonstill.cn",
"port": 443,
"users": [
{
"id": "113e167a-a2be-4b46-9010-60020108626c",
"encryption": "none",
"flow": "xtls-rprx-vision"
}
]
}
]
},
"streamSettings": {
"network": "raw",
"security": "reality",
"realitySettings": {
"show": false,
"fingerprint": "chrome",
"serverName": "www.apple.com",
"password": "62y5gDjPrdeuePGl-D2IW4Cw9Kb8_bSBBTmArvL7Nhs",
"shortId": "7c947a71b94f369e",
"spiderX": "/search?q=xray"
}
}
},
{
"tag": "direct",
"protocol": "freedom"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"bridge"
],
"domain": [
"full:reverse-proxy.xray.internal"
],
"outboundTag": "interconn"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "38654",
"outboundTag": "to_siyuan"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "38655",
"outboundTag": "to_wsl"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "38656",
"outboundTag": "to_nas_ssh"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "38657",
"outboundTag": "to_router_ssh"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "8501",
"outboundTag": "to_tmp"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "39766",
"outboundTag": "to_router_web"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "3000",
"outboundTag": "to_3000"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "222",
"outboundTag": "to_222"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"port": "39132",
"outboundTag": "to_minecraft"
},
{
"type": "field",
"inboundTag": [
"bridge"
],
"outboundTag": "to_nas"
}
]
}
}