{ "log": { "level": "info", "timestamp": true }, "dns": { "servers": [ { "tag": "cn-dns", "detour": "国内", "address": "https://223.5.5.5/dns-query", "strategy": "ipv4_only" }, { "tag": "bootstrap-dns", "address": "8.8.8.8", "detour": "direct", "strategy": "ipv4_only" } ], "rules": [ { "domain": [ "ultimatepanel.xyz" ], "domain_suffix": [ ".ultimatepanel.xyz" ], "server": "bootstrap-dns" } ], "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-北京", "auto-深圳" ], "default": "auto-北京", "interrupt_exist_connections": true }, { "type": "shadowsocks", "tag": "18#SS64-12", "server": "23.27.28.64", "server_port": 60111, "method": "chacha20-ietf-poly1305", "password": "QwjJSc3QqDiNZV17K2MqFQ==", "network": "tcp", "udp_over_tcp": { "enabled": true, "version": 2 } }, { "type": "shadowsocks", "tag": "18-hk-12", "server": "108.165.100.97", "server_port": 50011, "method": "chacha20-ietf-poly1305", "password": "QwjJSc3QqDiNZV17K2MqFQ==", "network": "tcp", "udp_over_tcp": { "enabled": true, "version": 2 } }, { "type": "urltest", "tag": "auto-深圳", "outbounds": [ "18#SS64-12", "18-hk-12" ], "url": "https://connect.rom.miui.com/generate_204", "interval": "3m", "tolerance": 50, "idle_timeout": "30m", "interrupt_exist_connections": false }, { "type": "shadowsocks", "tag": "国单-北京", "server": "108.165.100.97", "server_port": 50026, "method": "chacha20-ietf-poly1305", "password": "QwjJSc3QqDiNZV17K2MqFQ==", "network": "tcp", "udp_over_tcp": { "enabled": true, "version": 2 } }, { "type": "shadowsocks", "tag": "国单-北京-1", "server": "168.93.198.91", "server_port": 60020, "method": "chacha20-ietf-poly1305", "password": "QwjJSc3QqDiNZV17K2MqFQ==", "network": "tcp", "udp_over_tcp": { "enabled": true, "version": 2 } }, { "type": "urltest", "tag": "auto-北京", "outbounds": [ "国单-北京", "国单-北京-1" ], "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 } } }