### کانفیگ به‌روزرسانی‌شده WARP: ```json { "log": { "level": "warn", "output": "box.log", "timestamp": true }, "dns": { "servers": [ { "tag": "dns-remote", "address": "https://dnslow.me/dns-query", "address_resolver": "dns-direct" }, { "tag": "dns-trick-direct", "address": "https://sky.rethinkdns.com/", "detour": "direct-fragment" }, { "tag": "dns-direct", "address": "https://dnslow.me/dns-query", "address_resolver": "dns-local", "detour": "direct" }, { "tag": "dns-local", "address": "local", "detour": "direct" }, { "tag": "dns-block", "address": "rcode://success" } ], "rules": [ { "domain": "dnslow.me", "server": "dns-direct" }, { "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": [ "172.67.220.150", "104.21.73.44", "2606:4700:3032::6815:492c", "2606:4700:3031::ac43:dc54", "104.18.204.240", "104.18.202.242", "172.64.182.14", "172.64.183.14", "2606:4700:e5::ac40:bd14", "2606:4700:e5::ac40:bc14" ] }, "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, "sniff": true, "sniff_override_destination": true, "domain_strategy": "prefer_ipv4" }, { "type": "mixed", "tag": "mixed-in", "listen": "127.0.0.1", "listen_port": 2334, "sniff": true, "sniff_override_destination": true, "domain_strategy": "prefer_ipv4" }, { "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 - Iran", "🇩🇪 WARP - Germany" ], "default": "auto" }, { "type": "urltest", "tag": "auto", "outbounds": [ "🇮🇷 WARP - Iran", "🇩🇪 WARP - Germany" ], "url": "http://cp.cloudflare.com/", "interval": "10m0s" }, { "type": "wireguard", "tag": "🇮🇷 WARP - Iran", "local_address": [ "172.16.0.2/32", "2606:4700:110:8c91:4063:21d0:7dd5:f218/128" ], "private_key": "WMLXtNs5Zr343gGPUB3Fu6jUGw/typr0CDqDC+MmkmQ=", "server": "162.159.192.162", "server_port": 878, "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 - Germany", "detour": "🇮🇷 WARP - Iran", "local_address": [ "172.16.0.2/32", "2606:4700:110:8c15:3f90:ad2d:8810:77f3/128" ], "private_key": "WMLXtNs5Zr343gGPUB3Fu6jUGw/typr0CDqDC+MmkmQ=", "server": "162.159.192.162", "server_port": 878, "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": "5-10", "sleep": "1-5" } }, { "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" } } } ```