# Loon # Date: 2026-11-14 17:42:39 # Author: @HotKids [General] # IP 查询模式 ip-mode = v4-only # TUN IPv6 配置 ipv6-vif = off # DNS 服务器 dns-server = 119.29.29.29, 223.5.5.5 # Wi-Fi 共享开启时 HTTP 服务的端口 wifi-access-http-port = 6154 # Wi-Fi 共享开启时 SOCKS5 服务的端口 wifi-access-socks5-port = 6153 # 是否允许 Wi-Fi 下共享网络 allow-wifi-access = false # 节点测速时的超时秒数 test-timeout = 5 # 网络接口 interface-mode = auto # 域名拦截行为 domain-reject-mode = DNS # DNS 拦截方式 dns-reject-mode = LoopbackIP # SNI 辅助规则匹配 sni-sniffing = true # 直连时丢弃STUN disable-stun = true # UDP 回落策略 udp-fallback-mode = REJECT # 策略切换时关闭连接 disconnect-on-policy-change = false # 直连延迟测试 URL internet-test-url = https://connectivitycheck.platform.hicloud.com/generate_204 # 代理延迟测试 URL proxy-test-url = https://cp.cloudflare.com/generate_204 # 资源解析器 resource-parser = https://raw.githubusercontent.com/sub-store-org/Sub-Store/release/sub-store-parser.loon.min.js # GeoIP 数据库 geoip-url = https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb # ASN 数据库 ipasn-url = https://raw.githubusercontent.com/Loyalsoldier/geoip/release/GeoLite2-ASN.mmdb # 绕过代理 skip-proxy = 192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,e.crashlynatics.com # 绕过路由 bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 [Remote Proxy] # 仅修改此处订阅链接即可 # Sub = https://sub.hotkids.me # 本段由 sync-config.py 从 Surge/Profile.conf 策略组自动生成并注入 # (地区 smart 组 → Filter<地区>;include-all-proxies 组 → FilterUN),此处无需维护。 [Remote Filter] FilterUN = NameRegex, FilterKey = "^(?=.+).*" FilterHK = NameRegex, FilterKey = "^(?=.*(?i)(?:🇭🇰|香港|Hong Kong|\b(?:HK|HKG)\d*\b)).*" FilterTW = NameRegex, FilterKey = "^(?=.*(?i)(?:🇨🇳|🇹🇼|台湾|Taiwan|\b(?:TW|TWN)\d*\b)).*" FilterSG = NameRegex, FilterKey = "^(?=.*(?i)(?:🇸🇬|新加坡|Singapore|\b(?:SG|SGP)\d*\b)).*" FilterJP = NameRegex, FilterKey = "^(?=.*(?i)(?:🇯🇵|日本|Japan|\b(?:JP|JPN)\d*\b)).*" FilterUS = NameRegex, FilterKey = "^(?=.*(?i)(?:🇺🇸|美国|United States|\b(?:US|USA)\d*\b)).*" [Proxy] 🔘 DIRECT = DIRECT ⛔️ REJECT = REJECT [Proxy Group] # Proxy 🔰 Proxy = select,🇭🇰 Hong Kong,🇨🇳 Taiwan,🇸🇬 Singapore,🇯🇵 Japan,🇺🇸 America,🇺🇳 Server,🔘 DIRECT,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Outbound.png # Streaming Global 🎬 Streaming = select,🔰 Proxy,🇭🇰 Hong Kong,🇨🇳 Taiwan,🇸🇬 Singapore,🇯🇵 Japan,🇺🇸 America,🇺🇳 Server,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Streaming.png # CNTV APAC 📺 CNTV = select,🔘 DIRECT,🇨🇳 Taiwan,🇭🇰 Hong Kong,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/StreamingCN.png # Apple # > Apple TV 🍏 Apple TV = select,🔘 DIRECT,🔰 Proxy,🇺🇸 America,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple_2.png # > Apple Services 🍎 Apple = select,🔘 DIRECT,🔰 Proxy,🇺🇸 America,🇯🇵 Japan,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple.png # Google 🔍 Google = select,🇺🇸 America,🔰 Proxy,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Google.png # Telegram 📬 Telegram = select,🔰 Proxy,🇸🇬 Singapore,🔘 DIRECT,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Telegram.png # AIGC 🤖 AIGC = select,🇺🇸 America,🇯🇵 Japan,🇸🇬 Singapore,🔰 Proxy,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/ChatGPT.png # Crypto 🪙 Crypto = select,🇺🇸 America,🔰 Proxy,🔘 DIRECT,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Cryptocurrency_3.png # Finance 💳 Finance = select,🇺🇸 America,🔰 Proxy,🔘 DIRECT,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Finance.png # Mail 📧 Mail = select,🔰 Proxy,🔘 DIRECT,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Email.png # Speedtest ⏱️ Speedtest = select,FilterUN,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Speed.png # Adblock 🚧 AdGuard = select,🔘 DIRECT,⛔️ REJECT,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Block.png # Nodes 🇺🇳 Server = select,FilterUN,img-url = https://raw.githubusercontent.com/HotKids/Rules/master/Quantumult/X/Images/Color/Club.png # Area 🇭🇰 Hong Kong = url-test,FilterHK,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png 🇨🇳 Taiwan = url-test,FilterTW,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Taiwan.png 🇸🇬 Singapore = url-test,FilterSG,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png 🇯🇵 Japan = url-test,FilterJP,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png 🇺🇸 America = url-test,FilterUS,img-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png [Rule] # Local Rule # Type:DOMAIN-SUFFIX,DOMAIN,DOMAIN-KEYWORD,USER-AGENT,URL-REGEX,IP-CIDR # Strategy:DIRECT,Proxy,REJECT # Options:no-resolve(no-resolve(only for cidr)) # 请勿在此添加GEOIP,cn,DIRECT # 请勿修改CN REGION规则的排序甚至删除 # Final FINAL,🔰 Proxy [Remote Rule] # Unbreak 后续规则修正,修复因规则拦截或分流不当导致的功能异常 https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Bypass.list, policy=🔘 DIRECT, tag=Bypass, enabled=true https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Reroute.list, policy=🔰 Proxy, tag=Reroute, enabled=true # Private 私有网络 https://raw.githubusercontent.com/Loyalsoldier/surge-rules/release/private.txt, policy=🔘 DIRECT, tag=Private, enabled=true # Advertising 广告 https://raw.githubusercontent.com/Loyalsoldier/surge-rules/release/reject.txt, policy=🚧 AdGuard, tag=Reject, enabled=true https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Block.list, policy=🚧 AdGuard, tag=Adblock, enabled=true # Phishing 钓鱼网站 https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Phishing.list, policy=🚧 AdGuard, tag=Phishing, enabled=true # Bogus IP NXDOMAIN 劫持/僵尸网络 C2 https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Bogus.list, policy=REJECT-DROP, tag=Bogus, enabled=true # Global Area Network # > Streaming by Region # >> Streaming TW https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Streaming_TW.list, policy=🇨🇳 Taiwan, tag=Streaming_TW, enabled=true # >> Streaming JP https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Streaming_JP.list, policy=🇯🇵 Japan, tag=Streaming_JP, enabled=true # >> Streaming US https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Streaming_US.list, policy=🇺🇸 America, tag=Streaming_US, enabled=true # > Streaming https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Streaming.list, policy=🎬 Streaming, tag=Streaming, enabled=true # > CNTV(适用于 iQIYI Intl,WeTV,Bilibili 等大陆在港台东南亚提供服务的流媒体服务) https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/CNTV.list, policy=📺 CNTV, tag=CNTV, enabled=true # Global 全球代理规则 # > AIGC https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Gemini.list, policy=🔍 Google, tag=Gemini, enabled=true https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/GenAI.list, policy=🤖 AIGC, tag=GenAI, enabled=true # > Apple # >> iCloud Private Relay https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Apple/iCloud.PrivateRelay.list, policy=🔰 Proxy, tag=iCloud Private Relay, enabled=true # >> Apple News https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Apple/Apple%20News.list, policy=🇺🇸 America, tag=Apple News, enabled=true # >> Apple TV https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Apple/Apple%20TV.list, policy=🍏 Apple TV, tag=Apple TV, enabled=true # >> Apple Services https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Apple/Apple%20CN.list, policy=🔘 DIRECT, tag=Apple CN, enabled=true https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Apple/Apple.list, policy=🍎 Apple, tag=Apple, enabled=true # > Google https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Google.list, policy=🔍 Google, tag=Google, enabled=true # > Telegram https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Telegram.list, policy=📬 Telegram, tag=Telegram, enabled=true # > Crypto https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Crypto.list, policy=🪙 Crypto, tag=Crypto, enabled=true # > Finance https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Finance.list, policy=💳 Finance, tag=Finance, enabled=true # > Mail https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Spark.list, policy=📧 Mail, tag=Mail, enabled=true # > Speedtest https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/Speedtest.list, policy=⏱️ Speedtest, tag=Speedtest, enabled=true # Global (DNS Cache Pollution) / (IP Blackhole) / (Region-Restricted Access Denied) / (Network Jitter) https://raw.githubusercontent.com/Loyalsoldier/surge-rules/release/proxy.txt, policy=🔰 Proxy, tag=Global, enabled=true # China Area Network https://raw.githubusercontent.com/Loyalsoldier/surge-rules/release/direct.txt, policy=🔘 DIRECT, tag=China, enabled=true https://raw.githubusercontent.com/Loyalsoldier/surge-rules/release/cncidr.txt, policy=🔘 DIRECT, tag=China IP, enabled=true https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/ruleset/ASN.China.list, policy=🔘 DIRECT, tag=China ASN, enabled=true # Local Area Network https://raw.githubusercontent.com/HotKids/Rules/master/Surge/RULE-SET/LAN.list, policy=🔘 DIRECT, tag=LAN, enabled=true [Host] [Rewrite] [Script] [Plugin] https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.loon.plugin, tag=BoxJS, enabled=true https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/modules/script-hub.loon.plugin, tag=Script Hub, enabled=true https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/plugin/DNS.plugin, tag=DNS Enhanced, enabled=true https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/plugin/HTTPDNS.Block.plugin, tag=HTTPDNS Block, enabled=true https://raw.githubusercontent.com/mw418/Loon/main/plugin/jd_price.plugin, tag=京东比价, enabled=true https://raw.githubusercontent.com/fmz200/wool_scripts/main/Loon/plugin/blockAds.plugin, tag=去广告合集, enabled=false [Mitm] skip-server-cert-verify = true h2 = true ca-passphrase = Dler ca-p12 = MIIDGgIBAzCCA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