{ "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": "udp://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_suffix": ".ir", "geosite": "ir", "server": "dns-direct" }, { "domain": "cp.cloudflare.com", "server": "dns-remote", "rewrite_ttl": 3000 } ], "final": "dns-remote", "static_ips": { "sky.rethinkdns.com": [ "188.114.97.3", "188.114.96.3", "2a06:98c1:3120::3", "2a06:98c1:3121::3", "104.17.148.22", "104.17.147.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", "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": 2334, "sniff": true, "sniff_override_destination": true }, { "type": "direct", "tag": "dns-in", "listen": "127.0.0.1", "listen_port": 6450 } ], "outbounds": [ { "type": "selector", "tag": "select", "outbounds": [ "auto", "@VPN_Hiddify_VPN § 0" ], "default": "auto" }, { "type": "urltest", "tag": "auto", "outbounds": [ "@VPN_Hiddify_VPN § 0" ], "url": "http://cp.cloudflare.com/", "interval": "1h0m0s", "idle_timeout": "10h0m0s" }, { "type": "wireguard", "tag": "@VPN_Hiddify_VPN § 0", "local_address": [ "172.16.0.2/24", "2606:4700:110:83bf:7168:d715:e1b8:5a30/128" ], "private_key": "OMPfO6IZg0lvLC3bw67GN4az35OvgRQsUZ4Q5H4nt3A=", "server": "188.114.96.123", "server_port": 928, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AozU", "mtu": 1330, "fake_packets": "1-5", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "dns", "tag": "dns-out" }, { "type": "direct", "tag": "direct" }, { "type": "direct", "tag": "direct-fragment", "tls_fragment": { "enabled": true, "size": "1-500", "sleep": "0-500" } }, { "type": "direct", "tag": "bypass" }, { "type": "block", "tag": "block" } ], "route": { "geoip": { "path": "geo-assets/sagernet-sing-geoip-geoip.db" }, "geosite": { "path": "geo-assets/sagernet-sing-geosite-geosite.db" }, "rules": [ { "inbound": "dns-in", "outbound": "dns-out" }, { "port": 53, "outbound": "dns-out" }, { "clash_mode": "Direct", "outbound": "direct" }, { "clash_mode": "Global", "outbound": "select" }, { "domain_suffix": ".ir", "geosite": "ir", "geoip": "ir", "outbound": "bypass" } ], "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:6756", "secret": "q4CrX6RThO24VBfg" } } } { "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": "udp://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_suffix": ".ir", "geosite": "ir", "server": "dns-direct" }, { "domain": "cp.cloudflare.com", "server": "dns-remote", "rewrite_ttl": 3000 } ], "final": "dns-remote", "static_ips": { "sky.rethinkdns.com": [ "188.114.96.3", "188.114.97.3", "2a06:98c1:3121::3", "2a06:98c1:3120::3", "104.17.147.22", "104.17.148.22", "188.114.96.3", "188.114.97.3", "2a06:98c1:3120::3", "2a06:98c1:3121::3" ] }, "independent_cache": true }, "inbounds": [ { "type": "tun", "tag": "tun-in", "mtu": 9000, "inet4_address": "172.19.0.1/28", "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": 2334, "sniff": true, "sniff_override_destination": true }, { "type": "direct", "tag": "dns-in", "listen": "127.0.0.1", "listen_port": 6450 } ], "outbounds": [ { "type": "selector", "tag": "select", "outbounds": [ "auto", "🇵🇼 § 0", "🇺🇸1@@VPN_Hiddify_VPN § 1" ], "default": "auto" }, { "type": "urltest", "tag": "auto", "outbounds": [ "🇵🇼 § 0", "🇺🇸1@@VPN_Hiddify_VPN § 1" ], "url": "http://cp.cloudflare.com/", "interval": "1h0m0s", "idle_timeout": "10h0m0s" }, { "type": "wireguard", "tag": "🇵🇼 § 0", "local_address": [ "172.16.0.2/24", "2606:4700:110:8bda:7fad:2656:df3:5ec9/128" ], "private_key": "UGqFh75Zk5tpQtpYi+6fvNG6qsNsAUaCVfaHa6DwWWY=", "server": "162.159.195.20", "server_port": 1018, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "doRN", "mtu": 1330, "fake_packets": "1-5", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "hysteria2", "tag": "🇺🇸1@@VPN_Hiddify_VPN § 1", "detour": "🇵🇼 § 0", "server": "137.175.79.36", "server_port": 8620, "password": "^�ۓk", "tls": { "enabled": true, "server_name": "https://bing.com/", "insecure": true } }, { "type": "dns", "tag": "dns-out" }, { "type": "direct", "tag": "direct" }, { "type": "direct", "tag": "direct-fragment", "tls_fragment": { "enabled": true, "size": "1-500", "sleep": "0-500" } }, { "type": "direct", "tag": "bypass" }, { "type": "block", "tag": "block" } ], "route": { "geoip": { "path": "geo-assets/sagernet-sing-geoip-geoip.db" }, "geosite": { "path": "geo-assets/sagernet-sing-geosite-geosite.db" }, "rules": [ { "inbound": "dns-in", "outbound": "dns-out" }, { "port": 53, "outbound": "dns-out" }, { "clash_mode": "Direct", "outbound": "direct" }, { "clash_mode": "Global", "outbound": "select" }, { "domain_suffix": ".ir", "geosite": "ir", "geoip": "ir", "outbound": "bypass" } ], "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:6756", "secret": "ELWmDpZYQLdWCI9H" } } } { "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": "udp://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_suffix": ".ir", "geosite": "ir", "server": "dns-direct" }, { "domain": "cp.cloudflare.com", "server": "dns-remote", "rewrite_ttl": 3000 } ], "final": "dns-remote", "static_ips": { "sky.rethinkdns.com": [ "188.114.97.3", "188.114.96.3", "2a06:98c1:3121::3", "2a06:98c1:3120::3", "104.17.148.22", "104.17.147.22", "188.114.97.3", "188.114.96.3", "2a06:98c1:3120::3", "2a06:98c1:3121::3" ] }, "independent_cache": true }, "inbounds": [ { "type": "tun", "tag": "tun-in", "mtu": 9000, "inet4_address": "172.19.0.1/28", "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": 2334, "sniff": true, "sniff_override_destination": true }, { "type": "direct", "tag": "dns-in", "listen": "127.0.0.1", "listen_port": 6450 } ], "outbounds": [ { "type": "selector", "tag": "select", "outbounds": [ "auto", "@VPN_Hiddify_VPN § 0", "@VPN_Hiddify_VPN § 1" ], "default": "auto" }, { "type": "urltest", "tag": "auto", "outbounds": [ "@VPN_Hiddify_VPN § 0", "@VPN_Hiddify_VPN § 1" ], "url": "http://cp.cloudflare.com/", "interval": "1h0m0s", "idle_timeout": "10h0m0s" }, { "type": "wireguard", "tag": "@VPN_Hiddify_VPN § 0", "local_address": [ "172.16.0.2/24", "2606:4700:110:8643:3952:aa3d:33db:bc39/128" ], "private_key": "ED9V/aOMuAoCH+m4tls7LHEzScjhgHGMmkHSqg/Ah3c=", "server": "162.159.195.98", "server_port": 890, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "/HZu", "mtu": 1330, "fake_packets": "1-5", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "shadowsocks", "tag": "@VPN_Hiddify_VPN § 1", "server": "45.139.24.63", "server_port": 57456, "method": "chacha20-ietf-poly1305", "password": "3fbeb668f48414f6", "multiplex": { "enabled": true, "protocol": "h2mux", "max_streams": 8 } }, { "type": "dns", "tag": "dns-out" }, { "type": "direct", "tag": "direct" }, { "type": "direct", "tag": "direct-fragment", "tls_fragment": { "enabled": true, "size": "1-500", "sleep": "0-500" } }, { "type": "direct", "tag": "bypass" }, { "type": "block", "tag": "block" } ], "route": { "geoip": { "path": "geo-assets/sagernet-sing-geoip-geoip.db" }, "geosite": { "path": "geo-assets/sagernet-sing-geosite-geosite.db" }, "rules": [ { "inbound": "dns-in", "outbound": "dns-out" }, { "port": 53, "outbound": "dns-out" }, { "clash_mode": "Direct", "outbound": "direct" }, { "clash_mode": "Global", "outbound": "select" }, { "domain_suffix": ".ir", "geosite": "ir", "geoip": "ir", "outbound": "bypass" } ], "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:6756", "secret": "nDQ5PrvVTL5Q7wl1" } } }