{ "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_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::6", "2a06:98c1:3120::6", "104.18.203.232", "104.18.202.232", "172.64.111.10", "172.64.110.10", "2606:4700:e0::ac40:6e0a", "2606:4700:e0::ac40:6f0a" ] }, "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, "override_address": "1.1.1.1", "override_port": 53 } ], "outbounds": [ { "type": "selector", "tag": "select", "outbounds": [ "auto", "WARP § 0", "WARP § 1", "WARP § 2", "WARP § 3", "WARP § 4", "WARP § 5", "WARP § 6", "WARP § 7", "WARP § 8", "WARP § 9" ], "default": "auto" }, { "type": "urltest", "tag": "auto", "outbounds": [ "WARP § 0", "WARP § 1", "WARP § 2", "WARP § 3", "WARP § 4", "WARP § 5", "WARP § 6", "WARP § 7", "WARP § 8", "WARP § 9" ], "url": "http://cp.cloudflare.com/", "interval": "10m0s", "idle_timeout": "1h40m0s" }, { "type": "wireguard", "tag": "WARP § 0", "local_address": [ "172.16.0.2/24", "2606:4700:110:8a4d:642c:d4c9:38fc:ca0a/128" ], "private_key": "2L7YvF+zq0JKO4X4y8+dxQk4/vbAq/XD8tNEpQtuIkE=", "server": "188.114.97.75", "server_port": 3854, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 1", "local_address": [ "172.16.0.2/24", "2606:4700:110:8ed1:38bb:97b1:a91c:3366/128" ], "private_key": "GCcA1NvbG7jpQZDoLngfOHUC4FIJkakvl0sHkbBR4WU=", "server": "188.114.97.37", "server_port": 968, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 2", "local_address": [ "172.16.0.2/24", "2606:4700:110:893a:5b62:169d:81cf:7688/128" ], "private_key": "WDWjgq//O1oqOlxCrrg+G6fkdMBJmPRq4kqZ/NzivUc=", "server": "188.114.97.15", "server_port": 1180, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 3", "local_address": [ "172.16.0.2/24", "2606:4700:110:83e6:6b03:d74a:5233:77e5/128" ], "private_key": "yMgljEtlteTwfOPz+tBOGlIxNfyrpfACmydB29eAzVY=", "server": "188.114.96.7", "server_port": 968, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 4", "local_address": [ "172.16.0.2/24", "2606:4700:110:8ca0:7e10:d642:8d25:173/128" ], "private_key": "iMuBDLZ0uVtSgqK8yr/oFMf/jD7LNrILtkAW5U3hDGw=", "server": "188.114.96.201", "server_port": 1180, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 5", "local_address": [ "172.16.0.2/24", "2606:4700:110:81cf:1bc7:f4f6:3021:891e/128" ], "private_key": "2EZNjqlQyvJejdCSjTuEWnA71bydyHSio4fYerVJk38=", "server": "188.114.98.247", "server_port": 859, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 6", "local_address": [ "172.16.0.2/24", "2606:4700:110:8bcf:5503:5815:bf4a:8303/128" ], "private_key": "MKwsPmDd0lo0qD7Hi1Edw0xL9gs7lR78+IXCdKegJmk=", "server": "188.114.98.195", "server_port": 859, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 7", "local_address": [ "172.16.0.2/24", "2606:4700:110:8706:d997:816:852a:1a48/128" ], "private_key": "SENi77UVH9dLgzh3I9SXfgkSx8GBJSpcG8UizmSmCk4=", "server": "188.114.97.37", "server_port": 1180, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 8", "local_address": [ "172.16.0.2/24", "2606:4700:110:8395:ceaa:7755:8158:10f9/128" ], "private_key": "mMPtrgz8rSAdNH1tB+mF/j7a7OZEnNV+6qDVq2fPKn0=", "server": "188.114.97.75", "server_port": 3854, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "fake_packets_size": "40-100", "fake_packets_delay": "20-250" }, { "type": "wireguard", "tag": "WARP § 9", "local_address": [ "172.16.0.2/24", "2606:4700:110:8a95:6c64:a154:2d46:ba4e/128" ], "private_key": "WKrfwc8wYeItKLQRENKoIbcG+3f08sYwgWKGy8YuY0o=", "server": "188.114.97.37", "server_port": 968, "peer_public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=", "reserved": "AAAA", "mtu": 1280, "fake_packets": "5-10", "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": "ts2s9UimTbTJmT-q" } } }