Multi-protocol proxy client (shadowsocks, vmess, vless, trojan) with TUN support and integrated DNS powered by mini-dns. DNS features via mini-dns: - Split routing: CN domains → local DNS, foreign → remote DNS - Multi-upstream concurrent queries per group - Remote DNS routed through proxy outbound nodes (DialFunc injection) - Pollution filtering, TTL cache with prefetch/serve-stale - Optional DNS listener (UDP/TCP) alongside embedded Exchange() API
23 lines
467 B
JSON
23 lines
467 B
JSON
{
|
|
"log": { "level": "debug" },
|
|
"inbounds": [
|
|
{
|
|
"type": "tun",
|
|
"tag": "tun-in",
|
|
"address": ["172.19.0.1/30"],
|
|
"auto_route": true,
|
|
"stack": "system",
|
|
"dns_hijack": "8.8.8.8:53",
|
|
"exclude_outbound": true,
|
|
"health_check_timeout": 30,
|
|
"health_check_url": "https://www.gstatic.com/generate_204"
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{ "type": "direct", "tag": "direct" }
|
|
],
|
|
"route": {
|
|
"final": "direct"
|
|
}
|
|
}
|