{ "log": { "level": "warn", "output": "box.log", "timestamp": true }, "dns": { "servers": [ { "tag": "dns-remote", "address": "udp://1.1.1.1", "address_resolver": "dns-direct" }, { "tag": "dns-trick-direct", "address": "https://sky.rethinkdns.com/", "detour": "direct-fragment" }, { "tag": "dns-direct", "address": "1.1.1.1", "address_resolver": "dns-local", "detour": "direct" }, { "tag": "dns-local", "address": "local", "detour": "direct" }, { "tag": "dns-block", "address": "rcode://success" } ], "rules": [ { "domain": "connectivitycheck.gstatic.com", "server": "dns-remote", "rewrite_ttl": 3000 } ], "final": "dns-remote", "static_ips": { "sky.rethinkdns.com": [ "104.17.147.22", "104.17.148.22", "188.114.97.3", "188.114.96.3", "2a06:98c1:3121::3", "2a06:98c1:3120::3" ] }, "independent_cache": true }, "inbounds": [ { "type": "tun", "tag": "tun-in", "mtu": 9000, "inet4_address": "172.19.0.1/28", "inet6_address": "fdfe:dcba:9876::1/126", "auto_route": true, "strict_route": true, "endpoint_independent_nat": true, "stack": "mixed", "sniff": true, "sniff_override_destination": true }, { "type": "mixed", "tag": "mixed-in", "listen": "127.0.0.1", "listen_port": 12334, "sniff": true, "sniff_override_destination": true }, { "type": "direct", "tag": "dns-in", "listen": "127.0.0.1", "listen_port": 16450 } ], "outbounds": [ { "type": "selector", "tag": "select", "outbounds": [ "auto", "®️👹_🇮🇷 § 0", "GER_🚀 § 1" ], "default": "auto" }, { "type": "urltest", "tag": "auto", "outbounds": [ "®️👹_🇮🇷 § 0", "GER_🚀 § 1" ], "url": "http://connectivitycheck.gstatic.com/generate_204", "interval": "10m0s", "tolerance": 1, "idle_timeout": "30m0s" }, { "type": "wireguard", "tag": "®️👹_🇮🇷 § 0", "local_address": [ "172.16.0.2/24", "2606:4700:110:8e70:2b05:6494:612:40e1/128" ], "private_key": "IC6aVEyzTlEgYfCxmZxVtH1mJAj1Kzbcw64WO9GhMlE=", "server": "2606:4700:d1::d3f:23c9:46fc:c876", "server_port": 1074, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "IuGD", "mtu": 1330, "fake_packets": "1-3", "fake_packets_size": "10-30", "fake_packets_delay": "10-30", "fake_packets_mode": "m4" }, { "type": "wireguard", "tag": "GER_🚀 § 1", "detour": "®️👹_🇮🇷 § 0", "local_address": [ "172.16.0.2/24", "2606:4700:110:8de6:4639:427e:437f:cbf6/128" ], "private_key": "4Owg2yTt4l3n2RPtnspn+cVMhGcz4Ct9qIwx9cjBk14=", "server": "2606:4700:d1::d3f:23c9:46fc:c876", "server_port": 1010, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "yn5u", "mtu": 1280, "fake_packets_mode": "m6" }, { "type": "dns", "tag": "dns-out" }, { "type": "direct", "tag": "direct" }, { "type": "direct", "tag": "direct-fragment", "tls_fragment": { "enabled": true, "size": "10-30", "sleep": "2-8" } }, { "type": "direct", "tag": "bypass" }, { "type": "block", "tag": "block" } ], "route": { "rules": [ { "inbound": "dns-in", "outbound": "dns-out" }, { "port": 53, "outbound": "dns-out" }, { "process_name": [ "Hiddify", "Hiddify.exe", "HiddifyCli", "HiddifyCli.exe" ], "outbound": "bypass" }, { "ip_is_private": true, "outbound": "bypass" }, { "rule_set": [ "geosite-ads", "geosite-malware", "geosite-phishing", "geosite-cryptominers", "geoip-malware", "geoip-phishing" ], "outbound": "block" } ], "rule_set": [ { "type": "remote", "tag": "geosite-ads", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-category-ads-all.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-malware", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-malware.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-phishing", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-phishing.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geosite-cryptominers", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geosite-cryptominers.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geoip-phishing", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geoip-phishing.srs", "update_interval": "120h0m0s" }, { "type": "remote", "tag": "geoip-malware", "format": "binary", "url": "https://raw.githubusercontent.com/hiddify/hiddify-geo/rule-set/block/geoip-malware.srs", "update_interval": "120h0m0s" } ], "final": "select", "auto_detect_interface": true, "override_android_vpn": true }, "experimental": { "cache_file": { "enabled": true, "path": "clash.db" }, "clash_api": { "external_controller": "127.0.0.1:16756", "secret": "0kwkmO59qTxmla4b" } } }