{ "log": { "disabled": true, "level": "panic" }, "dns": { "servers": [ { "tag": "Internet-dns", "address": "tcp://76.76.2.2", "strategy": "ipv4_only", "detour": "Internet" }, { "tag": "direct-dns", "address": "udp://8.8.8.8", "strategy": "ipv4_only", "detour": "direct" } ], "rules": [ { "outbound": "any", "server": "direct-dns", "rewrite_ttl": 20 }, { "domain_regex": [ ".*\\.ir$", ".*\\.xn--mgba3a4f16a$" ], "server": "direct-dns", "rewrite_ttl": 20 } ], "strategy": "ipv4_only", "independent_cache": true }, "inbounds": [ { "type": "tun", "tag": "tun-in", "mtu": 9000, "address": "172.18.0.1/30", "auto_route": true, "strict_route": true, "route_exclude_address": [ "192.168.0.0/16", "fc00::/7" ], "stack": "mixed", "domain_strategy": "ipv4_only" } ], "outbounds": [ { "type": "selector", "tag": "Internet", "outbounds": [ "Best Latency", "🇳🇱 IRCP\n@Ln2Ray" ] }, { "type": "urltest", "tag": "Best Latency", "outbounds": [ "🇳🇱 IRCP\n@Ln2Ray" ], "url": "http://1.1.1.1/", "interval": "3m0s", "tolerance": 1, "idle_timeout": "9m0s" }, { "type": "hysteria2", "tag": "🇳🇱 IRCP\n@Ln2Ray", "domain_strategy": "ipv4_only", "server": "chopper.88981401.xyz", "server_port": 0, "server_ports": "35000:45000", "hop_interval": "10s", "obfs": { "type": "salamander", "password": "Telegram-->@Ln2Ray" }, "password": "Telegram-->@Ln2Ray", "tls": { "enabled": true, "server_name": "chopper.55994421.xyz", "alpn": "h3", "min_version": "1.3", "max_version": "1.3", "ech": { "enabled": true, "config": [ "-----BEGIN ECH CONFIGS-----", "AEv+DQBHAAAgACCv/adP9Sbsji0Ksj8E4HLmKQyZGvxV6YsFXE1t1mtMLgAIAAEA", "AQABAAMAFGNob3BwZXIuNTU5OTQ0MjEueHl6AAA=", "-----END ECH CONFIGS-----" ] } } }, { "type": "direct", "tag": "direct" } ], "route": { "rules": [ { "action": "sniff" }, { "type": "logical", "mode": "or", "rules": [ { "inbound": "dns-in" }, { "port": 53 }, { "protocol": "dns" } ], "action": "hijack-dns" }, { "network": "tcp", "port": 853, "action": "reject", "method": "default" }, { "network": "udp", "port": [ 443, 853 ], "action": "reject", "method": "default" }, { "ip_is_private": true, "outbound": "direct" }, { "domain_regex": [ ".*\\.ir$", ".*\\.xn--mgba3a4f16a$" ], "outbound": "direct" }, { "protocol": "stun", "action": "reject", "method": "default" }, { "source_ip_cidr": [ "224.0.0.0/3", "ff00::/8" ], "ip_cidr": [ "224.0.0.0/3", "ff00::/8" ], "action": "reject", "method": "default" } ], "auto_detect_interface": true, "override_android_vpn": true }, "experimental": { "cache_file": { "enabled": true, "path": "cache.db", "cache_id": "ircp" } } }