120 lines
2.5 KiB
JSON
120 lines
2.5 KiB
JSON
{
|
|
"_comment": "铸渊专线 · Xray服务端配置模板",
|
|
"_note": "⚠️ {{占位符}}在部署时由脚本替换为实际值",
|
|
"_architecture": "Xray监听443端口·非VLESS流量回落到www.microsoft.com:443(Reality反探测伪装)·VPN与网站HTTP(80端口)共存",
|
|
"_copyright": "国作登字-2026-A-00037559",
|
|
"log": {
|
|
"loglevel": "warning",
|
|
"access": "/opt/zhuyuan/proxy/logs/access.log",
|
|
"error": "/opt/zhuyuan/proxy/logs/error.log"
|
|
},
|
|
"dns": {
|
|
"servers": [
|
|
"8.8.8.8",
|
|
"1.1.1.1",
|
|
"localhost"
|
|
]
|
|
},
|
|
"stats": {},
|
|
"api": {
|
|
"tag": "api",
|
|
"services": [
|
|
"StatsService"
|
|
]
|
|
},
|
|
"policy": {
|
|
"levels": {
|
|
"0": {
|
|
"statsUserUplink": true,
|
|
"statsUserDownlink": true
|
|
}
|
|
},
|
|
"system": {
|
|
"statsInboundUplink": true,
|
|
"statsInboundDownlink": true,
|
|
"statsOutboundUplink": true,
|
|
"statsOutboundDownlink": true
|
|
}
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "zy-vless-reality",
|
|
"listen": "0.0.0.0",
|
|
"port": 443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "{{ZY_PROXY_UUID}}",
|
|
"flow": "xtls-rprx-vision",
|
|
"email": "bingshuo@zy-proxy"
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"show": false,
|
|
"dest": "www.microsoft.com:443",
|
|
"xver": 0,
|
|
"serverNames": [
|
|
"www.microsoft.com",
|
|
"www.amazon.com"
|
|
],
|
|
"privateKey": "{{ZY_PROXY_REALITY_PRIVATE_KEY}}",
|
|
"shortIds": [
|
|
"{{ZY_PROXY_REALITY_SHORT_ID}}"
|
|
]
|
|
}
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"tag": "api-in",
|
|
"port": 10085,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom"
|
|
},
|
|
{
|
|
"tag": "block",
|
|
"protocol": "blackhole"
|
|
}
|
|
],
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"api-in"
|
|
],
|
|
"outboundTag": "api"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"ip": [
|
|
"geoip:private"
|
|
],
|
|
"outboundTag": "block"
|
|
}
|
|
]
|
|
}
|
|
}
|