{ "log": { "level": "info", "timestamp": true }, "dns": { "servers": [ { "type": "https", "tag": "dns-proxy", "server": "1.1.1.1", "detour": "πŸ”° Proxy" }, { "type": "https", "tag": "dns-direct", "server": "223.5.5.5", "detour": "πŸ”˜ Direct" } ], "rules": [ { "rule_set": "geosite-cn", "server": "dns-direct" } ], "final": "dns-proxy", "strategy": "ipv4_only" }, "ntp": { "enabled": true, "server": "time.apple.com", "server_port": 123, "interval": "30m", "detour": "πŸ”˜ Direct" }, "inbounds": [ { "type": "tun", "tag": "tun-in", "address": [ "172.19.0.1/30" ], "auto_route": true, "strict_route": true, "stack": "mixed" }, { "type": "mixed", "tag": "mixed-in", "listen": "127.0.0.1", "listen_port": 7890 } ], "outbounds": [ { "type": "selector", "tag": "πŸ”° Proxy", "outbounds": [ "πŸ‡­πŸ‡° Hong Kong", "πŸ‡¨πŸ‡³ Taiwan", "πŸ‡ΈπŸ‡¬ Singapore", "πŸ‡―πŸ‡΅ Japan", "πŸ‡ΊπŸ‡Έ America", "πŸ‡ΊπŸ‡³ Server", "πŸ”˜ Direct" ] }, { "type": "selector", "tag": "🎬 Streaming", "outbounds": [ "πŸ”° Proxy", "πŸ‡­πŸ‡° Hong Kong", "πŸ‡¨πŸ‡³ Taiwan", "πŸ‡ΈπŸ‡¬ Singapore", "πŸ‡―πŸ‡΅ Japan", "πŸ‡ΊπŸ‡Έ America", "πŸ‡ΊπŸ‡³ Server" ] }, { "type": "selector", "tag": "πŸ“Ί CNTV", "outbounds": [ "πŸ”˜ Direct", "πŸ‡¨πŸ‡³ Taiwan", "πŸ‡­πŸ‡° Hong Kong" ] }, { "type": "selector", "tag": "🍎 Apple", "outbounds": [ "πŸ”˜ Direct", "πŸ”° Proxy", "πŸ‡ΊπŸ‡Έ America", "πŸ‡―πŸ‡΅ Japan" ] }, { "type": "selector", "tag": "πŸ” Google", "outbounds": [ "πŸ‡ΊπŸ‡Έ America", "πŸ”° Proxy" ] }, { "type": "selector", "tag": "πŸ“¬ Telegram", "outbounds": [ "πŸ”° Proxy", "πŸ‡ΈπŸ‡¬ Singapore", "πŸ”˜ Direct" ] }, { "type": "selector", "tag": "πŸ€– AIGC", "outbounds": [ "πŸ‡ΊπŸ‡Έ America", "πŸ‡―πŸ‡΅ Japan", "πŸ‡ΈπŸ‡¬ Singapore", "πŸ”° Proxy" ] }, { "type": "selector", "tag": "πŸͺ™ Crypto", "outbounds": [ "πŸ‡ΊπŸ‡Έ America", "πŸ”° Proxy", "πŸ”˜ Direct" ] }, { "type": "selector", "tag": "πŸ’³ Finance", "outbounds": [ "πŸ‡ΊπŸ‡Έ America", "πŸ”° Proxy", "πŸ”˜ Direct" ] }, { "type": "selector", "tag": "πŸ“§ Mail", "outbounds": [ "πŸ”° Proxy", "πŸ”˜ Direct" ] }, { "type": "selector", "tag": "⏱️ Speedtest", "outbounds": [ "πŸ”° Proxy", "πŸ”˜ Direct" ] }, { "type": "selector", "tag": "πŸ‡ΊπŸ‡³ Server", "outbounds": [ "πŸ‡­πŸ‡° HK", "πŸ‡¨πŸ‡³ TW", "πŸ‡ΈπŸ‡¬ SG", "πŸ‡―πŸ‡΅ JP", "πŸ‡ΊπŸ‡Έ US" ] }, { "type": "urltest", "tag": "πŸ‡­πŸ‡° Hong Kong", "outbounds": [ "πŸ‡­πŸ‡° HK" ], "url": "https://cp.cloudflare.com/generate_204", "interval": "180s", "tolerance": 50 }, { "type": "urltest", "tag": "πŸ‡¨πŸ‡³ Taiwan", "outbounds": [ "πŸ‡¨πŸ‡³ TW" ], "url": "https://cp.cloudflare.com/generate_204", "interval": "180s", "tolerance": 50 }, { "type": "urltest", "tag": "πŸ‡ΈπŸ‡¬ Singapore", "outbounds": [ "πŸ‡ΈπŸ‡¬ SG" ], "url": "https://cp.cloudflare.com/generate_204", "interval": "180s", "tolerance": 50 }, { "type": "urltest", "tag": "πŸ‡―πŸ‡΅ Japan", "outbounds": [ "πŸ‡―πŸ‡΅ JP" ], "url": "https://cp.cloudflare.com/generate_204", "interval": "180s", "tolerance": 50 }, { "type": "urltest", "tag": "πŸ‡ΊπŸ‡Έ America", "outbounds": [ "πŸ‡ΊπŸ‡Έ US" ], "url": "https://cp.cloudflare.com/generate_204", "interval": "180s", "tolerance": 50 }, { "type": "shadowsocks", "tag": "πŸ‡­πŸ‡° HK", "server": "hk.hotkids.me", "server_port": 12345, "method": "2022-blake3-aes-128-gcm", "password": "SG90S2lkc1J1bGVzRGVtbw==", "tcp_fast_open": true }, { "type": "shadowsocks", "tag": "πŸ‡¨πŸ‡³ TW", "server": "tw.hotkids.me", "server_port": 12345, "method": "2022-blake3-aes-128-gcm", "password": "SG90S2lkc1J1bGVzRGVtbw==", "tcp_fast_open": true }, { "type": "shadowsocks", "tag": "πŸ‡ΈπŸ‡¬ SG", "server": "sg.hotkids.me", "server_port": 12345, "method": "2022-blake3-aes-128-gcm", "password": "SG90S2lkc1J1bGVzRGVtbw==", "tcp_fast_open": true }, { "type": "shadowsocks", "tag": "πŸ‡―πŸ‡΅ JP", "server": "jp.hotkids.me", "server_port": 12345, "method": "2022-blake3-aes-128-gcm", "password": "SG90S2lkc1J1bGVzRGVtbw==", "tcp_fast_open": true }, { "type": "shadowsocks", "tag": "πŸ‡ΊπŸ‡Έ US", "server": "us.hotkids.me", "server_port": 12345, "method": "2022-blake3-aes-128-gcm", "password": "SG90S2lkc1J1bGVzRGVtbw==", "tcp_fast_open": true }, { "type": "direct", "tag": "πŸ”˜ Direct" } ], "route": { "rules": [ { "action": "sniff" }, { "protocol": "dns", "action": "hijack-dns" }, { "type": "logical", "mode": "and", "rules": [ { "protocol": "quic" }, { "rule_set": [ "geosite-cn", "geoip-cn" ], "invert": true } ], "action": "reject" }, { "network": "tcp", "port": 22, "outbound": "πŸ”˜ Direct" }, { "rule_set": "Bypass", "outbound": "πŸ”˜ Direct" }, { "rule_set": "Reroute", "outbound": "πŸ”° Proxy" }, { "ip_is_private": true, "outbound": "πŸ”˜ Direct" }, { "rule_set": "Reject", "action": "reject" }, { "rule_set": "Block", "action": "reject" }, { "rule_set": "Phishing", "action": "reject" }, { "rule_set": "Bogus", "action": "reject", "method": "drop" }, { "rule_set": "Streaming_TW", "outbound": "πŸ‡¨πŸ‡³ Taiwan" }, { "rule_set": "Streaming_JP", "outbound": "πŸ‡―πŸ‡΅ Japan" }, { "rule_set": "Streaming_US", "outbound": "πŸ‡ΊπŸ‡Έ America" }, { "rule_set": "Streaming", "outbound": "🎬 Streaming" }, { "rule_set": "CNTV", "outbound": "πŸ“Ί CNTV" }, { "rule_set": "Gemini", "outbound": "πŸ” Google" }, { "rule_set": "GenAI", "outbound": "πŸ€– AIGC" }, { "rule_set": "Apple CN", "outbound": "πŸ”˜ Direct" }, { "rule_set": "Apple", "outbound": "🍎 Apple" }, { "rule_set": "Google", "outbound": "πŸ” Google" }, { "rule_set": "Telegram", "outbound": "πŸ“¬ Telegram" }, { "rule_set": "Crypto", "outbound": "πŸͺ™ Crypto" }, { "rule_set": "Finance", "outbound": "πŸ’³ Finance" }, { "rule_set": "Spark", "outbound": "πŸ“§ Mail" }, { "rule_set": "Speedtest", "outbound": "⏱️ Speedtest" }, { "rule_set": "geolocation-!cn", "outbound": "πŸ”° Proxy" }, { "rule_set": "geosite-cn", "outbound": "πŸ”˜ Direct" }, { "rule_set": "geoip-cn", "outbound": "πŸ”˜ Direct" }, { "rule_set": "LAN", "outbound": "πŸ”˜ Direct" } ], "rule_set": [ { "type": "remote", "tag": "Bypass", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Bypass.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Reroute", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Reroute.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Reject", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Reject.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Block", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Block.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Phishing", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Phishing.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Bogus", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Bogus.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Streaming_TW", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Streaming_TW.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Streaming_JP", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Streaming_JP.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Streaming_US", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Streaming_US.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Streaming", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Streaming.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "CNTV", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/CNTV.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Gemini", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Gemini.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "GenAI", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/GenAI.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Apple CN", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Apple%20CN.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Apple", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Apple.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Google", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Google.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Telegram", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Telegram.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Crypto", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Crypto.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Finance", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Finance.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Spark", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Spark.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "Speedtest", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/Speedtest.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "geolocation-!cn", "format": "binary", "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "geosite-cn", "format": "binary", "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "geoip-cn", "format": "binary", "url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" }, { "type": "remote", "tag": "LAN", "format": "binary", "url": "https://raw.githubusercontent.com/HotKids/Rules/master/sing-box/rule-set/LAN.srs", "download_detour": "πŸ”˜ Direct", "update_interval": "1440m" } ], "final": "πŸ”° Proxy", "auto_detect_interface": true, "default_domain_resolver": { "server": "dns-direct" } }, "experimental": { "cache_file": { "enabled": true }, "clash_api": { "external_controller": "127.0.0.1:9090", "external_ui": "ui" } } }