Files
server/xray-代理服务器-config.json
T
2026-10-08 18:27:02 +08:00

93 lines
1.8 KiB
JSON

{
"log": {
"loglevel": "warning"
},
"reverse": {
"portals": [
{
"tag": "portal-jp",
"domain": "reverse-proxy-jp.xray.internal"
}
]
},
"inbounds": [
{
"tag": "vless-jp",
"listen": "127.0.0.1",
"port": 9443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "4d222c16-53bb-4402-814e-c8188cebcea6",
"level": 0,
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "raw",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "www.cloudflare.com:443",
"xver": 0,
"serverNames": [
"www.cloudflare.com"
],
"privateKey": "iBlu3eH1VLf1S5Qw87m_1w0TGYUktDwHAzgpQ2aKuGI",
"shortIds": [
"a1b2c3d4"
]
}
}
},
{
"tag": "external_nas_jp",
"listen": "127.0.0.1",
"port": 38653,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1",
"port": 38653,
"network": "tcp"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"external_nas_jp"
],
"outboundTag": "portal-jp"
},
{
"type": "field",
"inboundTag": [
"vless-jp"
],
"domain": [
"full:reverse-proxy-jp.xray.internal"
],
"outboundTag": "portal-jp"
},
{
"type": "field",
"inboundTag": [
"vless-jp"
],
"outboundTag": "direct"
}
]
}
}