438 lines
8.9 KiB
JSON
438 lines
8.9 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"reverse": {
|
|
"portals": [
|
|
{
|
|
"tag": "portal",
|
|
"domain": "reverse-proxy.xray.internal"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "external",
|
|
"listen": "0.0.0.0",
|
|
"port": 38653,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38653,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_siyuan",
|
|
"listen": "0.0.0.0",
|
|
"port": 38654,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38654,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_minecraft",
|
|
"listen": "0.0.0.0",
|
|
"port": 39132,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 39132,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_wsl",
|
|
"listen": "0.0.0.0",
|
|
"port": 38655,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38655,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_nas_ssh",
|
|
"listen": "0.0.0.0",
|
|
"port": 38656,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38656,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_router_ssh",
|
|
"listen": "0.0.0.0",
|
|
"port": 38657,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38657,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
|
|
{
|
|
"tag": "external_router_web",
|
|
"listen": "0.0.0.0",
|
|
"port": 39766,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 39766,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_tmp",
|
|
"listen": "0.0.0.0",
|
|
"port": 8501,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 8501,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_gitea",
|
|
"listen": "0.0.0.0",
|
|
"port": 38661,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38661,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_spark_38662",
|
|
"listen": "0.0.0.0",
|
|
"port": 38662,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38662,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_222",
|
|
"listen": "0.0.0.0",
|
|
"port": 222,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 222,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "interconn",
|
|
"listen": "127.0.0.1",
|
|
"port": 9443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "113e167a-a2be-4b46-9010-60020108626c",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "raw",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"show": false,
|
|
"target": "127.0.0.1:9447",
|
|
"xver": 0,
|
|
"serverNames": [
|
|
"www.apple.com",
|
|
"www.samsung.com",
|
|
"www.amd.com",
|
|
"www.asus.com"
|
|
],
|
|
"privateKey": "GGT9LfN_2JdQG68cwrULgUK-adfT6wIokLzWjaB0fXs",
|
|
"shortIds": [
|
|
"7c947a71b94f369e"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
|
|
{
|
|
"tag": "proxy_from_lan",
|
|
"listen": "127.0.0.1",
|
|
"port": 9445,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "113e167a-a2be-4b46-9010-60020108626c",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "raw",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"show": false,
|
|
"target": "www.bilibili.com:443",
|
|
"serverNames": [
|
|
"www.bilibili.com"
|
|
],
|
|
"privateKey": "GGT9LfN_2JdQG68cwrULgUK-adfT6wIokLzWjaB0fXs",
|
|
"shortIds": [
|
|
"7c947a71b94f369e"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_qbit",
|
|
"listen": "0.0.0.0",
|
|
"port": 51413,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 51413,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "socks-dynamic",
|
|
"listen": "0.0.0.0",
|
|
"port": 38658,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"auth": "password",
|
|
"accounts": [
|
|
{
|
|
"user": "dynamic",
|
|
"pass": "ab981c1d2b6d031631ee75986ea4e7c7"
|
|
}
|
|
],
|
|
"udp": true
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_spark_ssh",
|
|
"listen": "0.0.0.0",
|
|
"port": 38659,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38659,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_spark_rdp",
|
|
"listen": "0.0.0.0",
|
|
"port": 38660,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38660,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_win_rdp",
|
|
"listen": "0.0.0.0",
|
|
"port": 38664,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38664,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_spark_3080",
|
|
"listen": "0.0.0.0",
|
|
"port": 38665,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38665,
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "external_expo",
|
|
"listen": "0.0.0.0",
|
|
"port": 38666,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 38666,
|
|
"network": "tcp"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom"
|
|
}
|
|
],
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_siyuan"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_minecraft"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_wsl"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_nas_ssh"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_router_ssh"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_tmp"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_gitea"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_spark_38662"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_222"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_router_web"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_qbit"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"socks-dynamic"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_spark_ssh",
|
|
"external_spark_rdp"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_win_rdp"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_spark_3080"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_expo"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"interconn"
|
|
],
|
|
"domain": [
|
|
"full:www.baidu.com"
|
|
],
|
|
"outboundTag": "direct"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"interconn"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"proxy_from_lan"
|
|
],
|
|
"outboundTag": "direct"
|
|
}
|
|
]
|
|
}
|
|
} |