entry-node.jsonc
{
"log": {
"loglevel": "info"
},
"api": {
"tag": "api",
"services": [
"HandlerService",
"StatsService",
"LoggerService"
]
},
"stats": {},
"policy": {
"levels": {
"0": {
"statsUserUplink": true,
"statsUserDownlink": true,
"statsUserOnline": true
}
},
"system": {
"statsInboundUplink": true,
"statsInboundDownlink": true,
"statsOutboundUplink": true,
"statsOutboundDownlink": true
}
},
"inbounds": [
{
"tag": "vless-entry-in",
"port": 443,
"protocol": "vless",
"settings": {
"clients": [],
"decryption": "none",
"fallbacks": [
{
"dest": __FALLBACK_PORT__
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": [
"http/1.1"
],
"certificates": [
{
"certificateFile": "__TLS_CERT_FILE__",
"keyFile": "__TLS_KEY_FILE__"
}
]
}
}
},
{
"tag": "api",
"listen": "127.0.0.1",
"port": 10085,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
}
}
],
"outbounds": [
{
"tag": "to-exit",
"protocol": "vless",
"settings": {
"vnext": [
{
"address": "__UPSTREAM_HOST__",
"port": 443,
"users": [
{
"id": "__UPSTREAM_UUID__",
"encryption": "none"
}
]
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"serverName": "__UPSTREAM_HOST__",
"allowInsecure": false,
"alpn": [
"http/1.1"
]
}
}
},
{
"tag": "direct",
"protocol": "freedom"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api"
},
{
"type": "field",
"inboundTag": [
"vless-entry-in"
],
"outboundTag": "to-exit"
}
]
}
}