{ "log": { "disabled": true, "level": "panic" }, "dns": { "servers": [ { "tag": "Internet-dns", "address": "tcp://1.1.1.2", "strategy": "prefer_ipv4", "detour": "Internet" }, { "tag": "direct-dns", "address": "tcp://1.1.1.2", "strategy": "prefer_ipv4", "detour": "direct" }, { "tag": "fake-dns", "address": "fakeip" } ], "rules": [ { "network": "udp", "port": 443, "action": "reject", "method": "default" }, { "outbound": "any", "server": "direct-dns", "rewrite_ttl": 20 }, { "domain_suffix": [ ".ir", ".xn--mgba3a4fra", ".xn--mgba3a4f16a" ], "server": "direct-dns", "rewrite_ttl": 20 }, { "inbound": "tun-in", "query_type": [ "A", "AAAA" ], "server": "fake-dns", "disable_cache": true } ], "fakeip": { "enabled": true, "inet4_range": "198.18.0.0/15", "inet6_range": "fc00::/18" }, "strategy": "prefer_ipv4", "independent_cache": true }, "inbounds": [ { "type": "tun", "tag": "tun-in", "interface_name": "IRCP-VPN", "mtu": 9000, "address": [ "172.18.0.1/30", "fdfe:dcba:9876::1/126" ], "auto_route": true, "strict_route": true, "route_exclude_address": [ "192.168.0.0/16", "fc00::/7" ], "stack": "mixed" } ], "outbounds": [ { "type": "selector", "tag": "Internet", "outbounds": [ "Best Latency", "🇳🇱 𝐘𝐀𝐏𝐂-1", "🇳🇱 𝐘𝐀𝐏𝐂-1-IPv6", "🇳🇱 IRCP-1\n@Ln2Ray", "🇳🇱 IRCP-1-IPv6\n@Ln2Ray" ] }, { "type": "urltest", "tag": "Best Latency", "outbounds": [ "🇳🇱 𝐘𝐀𝐏𝐂-1", "🇳🇱 𝐘𝐀𝐏𝐂-1-IPv6", "🇳🇱 IRCP-1\n@Ln2Ray", "🇳🇱 IRCP-1-IPv6\n@Ln2Ray" ], "url": "http://1.1.1.1/", "interval": "3m0s", "tolerance": 3, "idle_timeout": "9m0s" }, { "type": "hysteria2", "tag": "🇳🇱 𝐘𝐀𝐏𝐂-1", "domain_strategy": "ipv4_only", "server": "YAPC-1.adamhayward.co.uk", "server_port": 0, "server_ports": "35000:45000", "hop_interval": "2m0s", "obfs": { "type": "salamander", "password": "Yet-Another-Public-Config-1" }, "password": "Yet-Another-Public-Config-1", "tls": { "enabled": true, "server_name": "YAPC-1.afshin.ir", "alpn": "h3", "min_version": "1.3", "max_version": "1.3", "ech": { "enabled": true, "config": [ "-----BEGIN ECH CONFIGS-----", "AFf+DQBTAAAgACAFoxGSyE0q9rP5MpxnApUbq9Oc4a35tfrjQ9wXEKboKwAIAAEA", "AQABAAMAIFstLXBxLXNpZ25hdHVyZS1zY2hlbWVzLWVuYWJsZWRdAAA=", "-----END ECH CONFIGS-----" ] } } }, { "type": "hysteria2", "tag": "🇳🇱 𝐘𝐀𝐏𝐂-1-IPv6", "domain_strategy": "ipv6_only", "server": "YAPC-1.adamhayward.co.uk", "server_port": 0, "server_ports": "35000:45000", "hop_interval": "2m0s", "obfs": { "type": "salamander", "password": "Yet-Another-Public-Config-1" }, "password": "Yet-Another-Public-Config-1", "tls": { "enabled": true, "server_name": "YAPC-1.afshin.ir", "alpn": "h3", "min_version": "1.3", "max_version": "1.3", "ech": { "enabled": true, "config": [ "-----BEGIN ECH CONFIGS-----", "AFf+DQBTAAAgACAFoxGSyE0q9rP5MpxnApUbq9Oc4a35tfrjQ9wXEKboKwAIAAEA", "AQABAAMAIFstLXBxLXNpZ25hdHVyZS1zY2hlbWVzLWVuYWJsZWRdAAA=", "-----END ECH CONFIGS-----" ] } } }, { "type": "hysteria2", "tag": "🇳🇱 IRCP-1\n@Ln2Ray", "domain_strategy": "ipv4_only", "server": "gavazn.lnmarketplace.net", "server_port": 0, "server_ports": "45000:50000", "hop_interval": "2m0s", "obfs": { "type": "salamander", "password": "Telegram--\u003e@Ln2Ray" }, "password": "Telegram--\u003e@Ln2Ray", "tls": { "enabled": true, "server_name": "gavazn.55994421.xyz", "alpn": "h3", "min_version": "1.3", "ech": { "enabled": true, "config": [ "-----BEGIN ECH CONFIGS-----", "AFf+DQBTAAAgACCHum87zr0DkKT8MYy8ForJLe0rEB5IOHMY5KlV60TeRQAIAAEA", "AQABAAMAIFstLXBxLXNpZ25hdHVyZS1zY2hlbWVzLWVuYWJsZWRdAAA=", "-----END ECH CONFIGS-----" ] } } }, { "type": "hysteria2", "tag": "🇳🇱 IRCP-1-IPv6\n@Ln2Ray", "domain_strategy": "ipv6_only", "server": "2a12:5940:1680::101", "server_port": 0, "server_ports": "45000:50000", "hop_interval": "2m0s", "obfs": { "type": "salamander", "password": "Telegram--\u003e@Ln2Ray" }, "password": "Telegram--\u003e@Ln2Ray", "tls": { "enabled": true, "server_name": "gavazn.55994421.xyz", "alpn": "h3", "min_version": "1.3", "ech": { "enabled": true, "config": [ "-----BEGIN ECH CONFIGS-----", "AFf+DQBTAAAgACCHum87zr0DkKT8MYy8ForJLe0rEB5IOHMY5KlV60TeRQAIAAEA", "AQABAAMAIFstLXBxLXNpZ25hdHVyZS1zY2hlbWVzLWVuYWJsZWRdAAA=", "-----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" }, { "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" }, { "ip_cidr": [ "10.10.34.34", "10.10.34.35", "10.10.34.36" ], "action": "reject", "method": "default" }, { "ip_is_private": true, "outbound": "direct" }, { "domain_suffix": [ ".ir", ".xn--mgba3a4fra", ".xn--mgba3a4f16a" ], "outbound": "direct" } ], "auto_detect_interface": true, "override_android_vpn": true }, "experimental": { "cache_file": { "enabled": true, "path": "cache.db", "cache_id": "IRCP-VPN", "store_fakeip": true }, "clash_api": { "external_controller": "127.0.0.1:9090", "access_control_allow_origin": "http://yacd.haishan.me", "access_control_allow_private_network": true } } }