{ "log": { "level": "info", "timestamp": true }, "dns": { "servers": [ { "tag": "cn-dns", "detour": "国内", "address": "https://8.8.8.8/dns-query", "strategy": "ipv4_only" } ], "rules": [], "final": "cn-dns", "independent_cache": true, "strategy": "ipv4_only" }, "inbounds": [ { "type": "tun", "tag": "tun-in", "address": [ "172.19.0.1/30", "fdfe:dcba:9876::1/126" ], "auto_route": true, "strict_route": true } ], "outbounds": [ { "type": "selector", "tag": "国内", "outbounds": [ "auto-liwang-pfhq-01.evoxt.com" ], "default": "auto-liwang-pfhq-01.evoxt.com", "interrupt_exist_connections": true }, { "type": "shadowsocks", "tag": "马来", "server": "168.93.198.91", "server_port": 1445, "method": "chacha20-ietf-poly1305", "password": "QwjJSc3QqDiNZV17K2MqFQ==", "network": "tcp", "udp_over_tcp": { "enabled": true, "version": 2 } }, { "type": "urltest", "tag": "auto-liwang-pfhq-01.evoxt.com", "outbounds": [ "马来" ], "url": "https://connect.rom.miui.com/generate_204", "interval": "3m", "tolerance": 50, "idle_timeout": "30m", "interrupt_exist_connections": false }, { "type": "direct", "tag": "direct" } ], "route": { "final": "国内", "auto_detect_interface": true, "rules": [ { "action": "sniff" }, { "type": "logical", "mode": "or", "rules": [ { "protocol": "dns" }, { "port": 53 } ], "action": "hijack-dns" }, { "ip_is_private": true, "outbound": "direct" }, { "type": "logical", "mode": "or", "rules": [ { "port": 853 }, { "network": "udp", "port": 443 }, { "protocol": "stun" } ], "action": "reject" } ] }, "experimental": { "cache_file": { "enabled": true, "store_rdrc": true } } }