This commit is contained in:
2026-10-08 18:27:02 +08:00
parent 08df19bde6
commit d070a5d22d
9 changed files with 360 additions and 35 deletions
+49 -1
View File
@@ -2,8 +2,17 @@
"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",
@@ -33,6 +42,17 @@
]
}
}
},
{
"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": [
@@ -40,5 +60,33 @@
"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"
}
]
}
}