This commit is contained in:
zzy committed 2026-11-27 18:11:12 +08:00
commit aadfaba7a6
6 files changed
+640

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
{
"log": {
"access": "./access.log",
"error": "./error.log",
"loglevel": "debug"
},
"stats": {},
"api": { "tag": "api", "services": ["StatsService", "ReflectionService"] },
"policy": {
"levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } },
"system": {
"statsInboundUplink": true, "statsInboundDownlink": true,
"statsOutboundUplink": true, "statsOutboundDownlink": true
}
},
"inbounds": [
{
"listen": "127.0.0.1",
"tag": "tunnel-in",
"port": 4431,
"protocol": "tunnel",
"settings": {
"address": "speed.cloudflare.com",
"port": 443,
"network": "tcp"
},
"sniffing": { "enabled": true, "destOverride": ["tls"], "routeOnly": true }
},
{
"listen": "127.0.0.1",
"port": 10085,
"protocol": "dokodemo-door",
"settings": { "address": "127.0.0.1" },
"tag": "api"
}
],
"outbounds": [
{ "protocol": "freedom", "tag": "direct" },
{ "protocol": "blackhole", "tag": "block" }
],
"routing": {
"rules": [
{ "inboundTag": ["tunnel-in"], "domain": ["speed.cloudflare.com"], "outboundTag": "direct" },
{ "inboundTag": ["tunnel-in"], "outboundTag": "block" },
{ "inboundTag": ["api"], "outboundTag": "api", "type": "field" }
]
}
}