init
This commit is contained in:
commit
aadfaba7a6
6 files changed
+640
No files matched your search
+48
@@ -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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user