326 lines
6.7 KiB
JSON
326 lines
6.7 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": "proxy_in",
|
|
"listen": "127.0.0.1",
|
|
"port": 10809,
|
|
"protocol": "mixed",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
},
|
|
{
|
|
"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_3000",
|
|
"listen": "0.0.0.0",
|
|
"port": 3000,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1",
|
|
"port": 3000,
|
|
"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": "www.apple.com:443",
|
|
"serverNames": [
|
|
"www.apple.com"
|
|
],
|
|
"privateKey": "GGT9LfN_2JdQG68cwrULgUK-adfT6wIokLzWjaB0fXs",
|
|
"shortIds": [
|
|
"7c947a71b94f369e"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"tag": "mihomo_in",
|
|
"listen": "127.0.0.1",
|
|
"port": 9444,
|
|
"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.microsoft.com:443",
|
|
"serverNames": [
|
|
"www.microsoft.com"
|
|
],
|
|
"privateKey": "GGT9LfN_2JdQG68cwrULgUK-adfT6wIokLzWjaB0fXs",
|
|
"shortIds": [
|
|
"7c947a71b94f369e"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom"
|
|
},
|
|
{
|
|
"tag": "to_tokyo",
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "tokyo.salmonstill.cn",
|
|
"port": 443,
|
|
"users": [
|
|
{
|
|
"id": "4d222c16-53bb-4402-814e-c8188cebcea6",
|
|
"encryption": "none",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "raw",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"show": false,
|
|
"fingerprint": "chrome",
|
|
"serverName": "www.microsoft.com",
|
|
"password": "jr_zQjC4mvlQITuG5Ap5Mxqe5EBbGyyvwbVLDEi8OCA",
|
|
"shortId": "a1b2c3d4",
|
|
"spiderX": "/"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"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_3000"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_222"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external_router_web"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"proxy_in"
|
|
],
|
|
"outboundTag": "to_tokyo"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"interconn"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"mihomo_in"
|
|
],
|
|
"outboundTag": "to_tokyo"
|
|
}
|
|
]
|
|
}
|
|
} |