{ "log": { "level": "debug", "timestamp": true }, "experimental": { "clash_api": { "external_controller": "127.0.0.1:9090", "external_ui": "ui", "secret": "", "external_ui_download_url": "https://github.com/MetaCubeX/Yacd-meta/archive/gh-pages.zip", "external_ui_download_detour": "", "default_mode": "rule" }, "cache_file": { "enabled": true, "store_fakeip": false } }, "dns": { "servers": [ { "tag": "proxyDns", "address": "tls://223.6.6.6", "detour": "proxy" }, { "tag": "localDns", "address": "https://223.5.5.5/dns-query", "detour": "direct" }, { "tag": "block", "address": "rcode://success" } ], "rules": [ { "domain": [ "ghproxy.com", "cdn.jsdelivr.net", "testingcf.jsdelivr.net" ], "server": "localDns" }, { "rule_set": "geosite-category-ads-all", "server": "block" }, { "outbound": "any", "server": "localDns", "disable_cache": true }, { "clash_mode": "direct", "server": "localDns" }, { "clash_mode": "global", "server": "proxyDns" } ], "strategy": "ipv4_only" }, "inbounds": [ { "type": "tun", "inet4_address": "172.19.0.1/30", "mtu": 9000, "auto_route": true, "strict_route": true, "sniff": true, "endpoint_independent_nat": false, "stack": "system", "platform": { "http_proxy": { "enabled": true, "server": "127.0.0.1", "server_port": 2080 } } }, { "type": "mixed", "listen": "127.0.0.1", "listen_port": 2080, "sniff": true, "users": [] } ], "outbounds": [ { "tag": "proxy", "type": "selector", "outbounds": [ "auto", "direct", "🇷🇴 ZeroTrust_PRO" ] }, { "tag": "auto", "type": "urltest", "outbounds": [ "🇷🇴 ZeroTrust_PRO" ], "url": "http://www.gstatic.com/generate_204", "interval": "10m", "tolerance": 50 }, { "type": "direct", "tag": "direct" }, { "type": "dns", "tag": "dns-out" }, { "type": "block", "tag": "block" }, { "tag": "🇷🇴 ZeroTrust_PRO", "type": "wireguard", "server": "cdn.onlyno999.cloudns.org", "server_port": 2408, "private_key": "YLOX88RT9o8DkiMjgtQkrzXLnk/n+NA7KbRIs49cH3E=", "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "local_address": [ "172.16.0.2/32", "2606:4700:110:8b31:ff4b:edca:473c:4d5b/128" ] } ], "route": { "auto_detect_interface": true, "final": "proxy", "rules": [ { "protocol": "dns", "outbound": "dns-out" }, { "network": "udp", "port": 443, "outbound": "block" }, { "rule_set": "geosite-category-ads-all", "outbound": "block" }, { "clash_mode": "direct", "outbound": "direct" }, { "clash_mode": "global", "outbound": "proxy" }, { "domain": [ "clash.razord.top", "yacd.metacubex.one", "yacd.haishan.me", "d.metacubex.one" ], "outbound": "direct" } ], "rule_set": [ { "tag": "geosite-category-ads-all", "type": "remote", "format": "binary", "url": "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/category-ads-all.srs", "download_detour": "direct" } ] } }