3x-ui/web/service/config.json

86 lines
1.5 KiB
JSON
Raw Normal View History

2023-02-09 11:18:06 -08:00
{
"api": {
"services": [
"HandlerService",
"LoggerService",
"StatsService"
],
"tag": "api"
},
"inbounds": [{
"listen": "127.0.0.1",
"port": 62789,
"protocol": "tunnel",
"settings": {
"rewriteAddress": "127.0.0.1"
},
"tag": "api"
}],
2023-02-09 11:18:06 -08:00
"log": {
"access": "none",
"dnsLog": false,
2024-09-24 02:38:10 -07:00
"error": "",
"loglevel": "warning",
"maskAddress": ""
2023-02-09 11:18:06 -08:00
},
"metrics": {
"listen": "127.0.0.1:11111",
"tag": "metrics_out"
2023-02-09 11:18:06 -08:00
},
"outbounds": [{
2023-02-09 11:18:06 -08:00
"protocol": "freedom",
2024-03-10 13:38:57 -07:00
"settings": {
"domainStrategy": "AsIs",
"finalRules": [
{ "action": "allow" }
]
},
"tag": "direct"
2023-02-09 11:18:06 -08:00
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
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,
"statsOutboundDownlink": false,
"statsOutboundUplink": false
2023-02-09 11:18:06 -08:00
}
},
"routing": {
2024-03-10 13:38:57 -07:00
"domainStrategy": "AsIs",
"rules": [{
2023-05-18 01:22:53 -07:00
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
2023-02-09 11:18:06 -08:00
},
{
2023-05-18 01:22:53 -07:00
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
2023-02-09 11:18:06 -08:00
},
{
"outboundTag": "blocked",
2023-05-18 01:22:53 -07:00
"protocol": [
"bittorrent"
],
"type": "field"
2023-02-09 11:18:06 -08:00
}
]
},
"stats": {}
}