{ "log": { "level": "info", "timestamp": true }, "dns": { "servers": [ { "type": "https", "tag": "dns-remote", "server": "dns.google", "server_port": 443, "path": "/dns-query", "detour": "proxy", "domain_resolver": { "server": "dns-bootstrap", "strategy": "ipv4_only" } }, { "type": "fakeip", "tag": "dns-fakeip", "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" }, { "type": "udp", "tag": "dns-local", "server": "223.5.5.5" }, { "type": "udp", "tag": "dns-bootstrap", "server": "8.8.8.8" } ], "rules": [ { "query_type": ["A", "AAAA"], "action": "route", "server": "dns-fakeip" } ], "final": "dns-remote" }, "inbounds": [ { "type": "tun", "tag": "tun-in", "address": [ "172.19.0.1/30", "fdfe:dcba:9876::1/126" ], "mtu": 9000, "auto_route": true, "strict_route": true, "stack": "mixed", "exclude_interface": [] } ], "outbounds": [ { "type": "{{PROTOCOL}}", "tag": "proxy", "server": "{{SERVER}}", "server_port": "{{PORT}}" }, { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" } ], "route": { "rules": [ { "action": "sniff" }, { "protocol": "dns", "action": "hijack-dns" }, { "ip_is_private": true, "action": "route", "outbound": "direct" } ], "final": "proxy", "auto_detect_interface": true }, "experimental": { "cache_file": { "enabled": true, "store_fakeip": true } } }