Я поднял vless на панели 3x-ui, вот как выглядит мой конфиг
{
"log": {
"access": "./access.log",
"dnsLog": true,
"error": "",
"loglevel": "info",
"maskAddress": ""
},
"api": {
"tag": "api",
"services": [
"HandlerService",
"LoggerService",
"StatsService"
]
},
"inbounds": [
{
"tag": "api",
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
}
}
],
"outbounds": [
{
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
}
},
{
"tag": "blocked",
"protocol": "blackhole",
"settings": {}
},
{
"tag": "warp",
"protocol": "wireguard",
"settings": {
"mtu": 1280,
"secretKey": "xxxxxxxxxxxx",
"address": [
"172.16.0.2/32",
"2606:4700:110:8dd1:5e3a:336d:8a38:cabc/128"
],
"workers": 2,
"domainStrategy": "ForceIPv4",
"reserved": [
0,
123,
96
],
"peers": [
{
"publicKey": "xxxxxx=",
"allowedIPs": [
"0.0.0.0/0",
"::/0"
],
"endpoint": "engage.cloudflareclient.com:2408",
"keepAlive": 0
}
],
"noKernelTun": true
}
},
{
"tag": "dns-out",
"protocol": "dns",
"settings": {
"network": "udp",
"address": "127.0.0.1",
"port": 53,
"nonIPQuery": "drop",
"blockTypes": []
}
}
],
"policy": {
"levels": {
"0": {
"statsUserDownlink": true,
"statsUserUplink": true
}
},
"system": {
"statsInboundDownlink": true,
"statsInboundUplink": true,
"statsOutboundDownlink": true,
"statsOutboundUplink": true
}
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"inboundTag": [
"api"
],
"outboundTag": "api"
},
{
"type": "field",
"outboundTag": "blocked",
"protocol": [
"bittorrent"
]
},
{
"type": "field",
"outboundTag": "blocked",
"domain": [
"geosite:category-ads-all"
]
},
{
"type": "field",
"domain": [
"geosite:category-ru",
"geosite:google",
"vk.com"
],
"outboundTag": "warp"
},
{
"type": "field",
"inboundTag": [
"dns-in"
],
"outboundTag": "dns-out"
},
{
"type": "field",
"outboundTag": "direct",
"domain": [
"youtube.com",
"youtu.be"
]
}
]
},
"stats": {},
"dns": {
"servers": [
"localhost"
],
"queryStrategy": "UseIP",
"tag": "dns-in"
},
"fakedns": null
}
Я не могу понять почему в “Исходящие” на dns-out использовано 0/0 bytes. Как-то это странно. Если, что я использую nekoray