2023-02-09 11:18:06 -08:00
|
|
|
{
|
|
|
|
|
"log": {
|
2024-02-03 06:24:04 -08:00
|
|
|
"access": "none",
|
|
|
|
|
"dnsLog": false,
|
2024-09-24 02:38:10 -07:00
|
|
|
"error": "",
|
|
|
|
|
"loglevel": "warning",
|
|
|
|
|
"maskAddress": ""
|
2023-02-09 11:18:06 -08:00
|
|
|
},
|
|
|
|
|
"api": {
|
2023-04-17 22:52:04 -07:00
|
|
|
"tag": "api",
|
2023-05-18 01:22:53 -07:00
|
|
|
"services": [
|
|
|
|
|
"HandlerService",
|
|
|
|
|
"LoggerService",
|
|
|
|
|
"StatsService"
|
|
|
|
|
]
|
2023-02-09 11:18:06 -08:00
|
|
|
},
|
|
|
|
|
"inbounds": [
|
|
|
|
|
{
|
2023-04-17 22:52:04 -07:00
|
|
|
"tag": "api",
|
2023-02-09 11:18:06 -08:00
|
|
|
"listen": "127.0.0.1",
|
|
|
|
|
"port": 62789,
|
2025-09-09 04:57:40 -07:00
|
|
|
"protocol": "tunnel",
|
2023-02-09 11:18:06 -08:00
|
|
|
"settings": {
|
|
|
|
|
"address": "127.0.0.1"
|
2023-04-17 22:52:04 -07:00
|
|
|
}
|
2023-02-09 11:18:06 -08:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"outbounds": [
|
|
|
|
|
{
|
2024-01-26 05:20:35 -08:00
|
|
|
"tag": "direct",
|
2023-02-09 11:18:06 -08:00
|
|
|
"protocol": "freedom",
|
2024-03-10 13:38:57 -07:00
|
|
|
"settings": {
|
2024-11-20 13:01:45 -08:00
|
|
|
"domainStrategy": "AsIs",
|
2024-10-17 01:36:05 -07:00
|
|
|
"redirect": "",
|
|
|
|
|
"noises": []
|
2024-03-10 13:38:57 -07:00
|
|
|
}
|
2023-02-09 11:18:06 -08:00
|
|
|
},
|
|
|
|
|
{
|
2023-04-17 22:52:04 -07:00
|
|
|
"tag": "blocked",
|
2023-02-09 11:18:06 -08:00
|
|
|
"protocol": "blackhole",
|
2023-04-17 22:52:04 -07:00
|
|
|
"settings": {}
|
2023-02-09 11:18:06 -08:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"policy": {
|
|
|
|
|
"levels": {
|
|
|
|
|
"0": {
|
2023-04-17 22:52:04 -07:00
|
|
|
"statsUserDownlink": true,
|
|
|
|
|
"statsUserUplink": true
|
2023-02-09 11:18:06 -08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"system": {
|
|
|
|
|
"statsInboundDownlink": true,
|
2024-02-04 01:32:28 -08:00
|
|
|
"statsInboundUplink": true,
|
2025-01-26 02:22:42 -08:00
|
|
|
"statsOutboundDownlink": false,
|
|
|
|
|
"statsOutboundUplink": false
|
2023-02-09 11:18:06 -08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"routing": {
|
2024-03-10 13:38:57 -07:00
|
|
|
"domainStrategy": "AsIs",
|
2023-02-09 11:18:06 -08:00
|
|
|
"rules": [
|
|
|
|
|
{
|
2023-04-17 22:52:04 -07:00
|
|
|
"type": "field",
|
2023-05-18 01:22:53 -07:00
|
|
|
"inboundTag": [
|
|
|
|
|
"api"
|
|
|
|
|
],
|
2023-04-17 22:52:04 -07:00
|
|
|
"outboundTag": "api"
|
2023-02-09 11:18:06 -08:00
|
|
|
},
|
|
|
|
|
{
|
2023-04-17 22:52:04 -07:00
|
|
|
"type": "field",
|
2023-04-03 12:58:26 -07:00
|
|
|
"outboundTag": "blocked",
|
2023-05-18 01:22:53 -07:00
|
|
|
"ip": [
|
|
|
|
|
"geoip:private"
|
|
|
|
|
]
|
2023-02-09 11:18:06 -08:00
|
|
|
},
|
|
|
|
|
{
|
2023-04-17 22:52:04 -07:00
|
|
|
"type": "field",
|
2023-02-09 11:18:06 -08:00
|
|
|
"outboundTag": "blocked",
|
2023-05-18 01:22:53 -07:00
|
|
|
"protocol": [
|
|
|
|
|
"bittorrent"
|
|
|
|
|
]
|
2023-02-09 11:18:06 -08:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2025-06-11 03:42:41 -07:00
|
|
|
"stats": {},
|
|
|
|
|
"metrics": {
|
|
|
|
|
"tag": "metrics_out",
|
|
|
|
|
"listen": "127.0.0.1:11111"
|
|
|
|
|
}
|
|
|
|
|
}
|