{ "log": { "level": "info", "timestamp": true }, "dns": { "servers": [ { "tag": "cn-dns", "detour": "国内", "address": "223.5.5.5", "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": "hysteria2", "tag": "CN-hysteria2-1", "server": "23.27.240.217", "server_port": 60007, "up_mbps": 5, "down_mbps": 5, "password": "LER1SPLqYBFp3UUv7JQBe+6b", "tls": { "enabled": true, "server_name": "bing.com", "insecure": true } }, { "type": "shadowsocks", "tag": "CN-ss-2", "server": "23.94.98.196", "server_port": 1445, "method": "chacha20-ietf-poly1305", "password": "QwjJSc3QqDiNZV17K2MqFQ==", "network": "tcp", "udp_over_tcp": { "enabled": true, "version": 2 } }, { "type": "direct", "tag": "direct" }, { "type": "selector", "tag": "国内", "outbounds": [ "CN-hysteria2-1", "CN-ss-2" ], "default": "CN-hysteria2-1", "interrupt_exist_connections": true } ], "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 } } }