# Author:https://github.com/Repcz # TG:https://t.me/@LUCYChannel_1024 # 最后更新时间: 2026-8-10 09:30 # # Surge Mac ≥ Version 6.8.0 或 Surge iOS ≥ 5.21.0 # # 以 ';' 或 '#' 或 '//' 开头的配置文件行为注释行 # # ================ [General] # 日志级别 loglevel = notify # 测试链接 internet-test-url = http://wifi.vivo.com.cn/generate_204 proxy-test-url = http://1.1.1.1/generate_204 # 节点超时 test-timeout = 5 # DNS 设置 dns-server = 223.5.5.5, 119.29.29.29 encrypted-dns-server = https://doh.pub/dns-query, https://dns.alidns.com/dns-query # DNS 劫持 hijack-dns = *:53 # IPv6 设置 ipv6 = false ipv6-vif = auto # UDP 回退行为 udp-policy-not-supported-behaviour = REJECT # 游戏模式 udp-priority = false # 展示错误页面 show-error-page-for-reject = true # 简单主机名由 VIF 处理 exclude-simple-hostnames = true # GEOIP 数据库 geoip-maxmind-url = https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country-without-asn.mmdb # 绕过代理 skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local, seed-sequoia.siri.apple.com, sequoia.siri.apple.com, sequoia.apple.com, passenger.t3go.cn, www.baidu.com, yunbusiness.ccb.com, wxh.wo.cn, gate.lagou.com, www.abchina.com.cn, www.shanbay.com, login-service.mobile-bank.psbc.com, mobile-bank.psbc.com # Always Real IP Hosts always-real-ip = , lancache.steamcontent.com, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.logon.battlenet.com.cn, *.logon.battle.net, stun.l.google.com, easy-login.10099.com.cn,*-update.xoyocdn.com, *.prod.cloud.netflix.com, appboot.netflix.com, *-appboot.netflix.com [Proxy Group] Manual = select, include-all-proxies=1, icon-url=B1::Logos::Microsoft Edge, update-interval=0, no-alert=0, hidden=0 Global = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Business::Internet Streaming = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Logos::YouTube Microsoft = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Logos::Windows 10 Google = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Logos::Google AI = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Logos::ChatGPT Social = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Logos::Twitter Telegram = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Logos::Telegram App Game = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Gaming::Xbox Controller Emby = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, DIRECT, include-other-group=Manual, icon-url=B1::Household::Retro TV Spotify = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, icon-url=B1::Logos::Spotify Final = select, Manual, HongKong, United States, Singapore, Japan, Taiwan, DIRECT, icon-url=B1::Industry::Broken Robot HongKong = smart, policy-regex-filter=(?i)🇭🇰|香港|(\b(HK|Hong)\b), include-other-group=Manual, icon-url=EMOJI::🇭🇰 United States = smart, policy-regex-filter=(?i)🇺🇸|美国|洛杉矶|圣何塞|(\b(US|United States)\b), include-other-group=Manual, icon-url=EMOJI::🇺🇸 Singapore = smart, policy-regex-filter=(?i)🇸🇬|新加坡|狮|(\b(SG|Singapore)\b), include-other-group=Manual, icon-url=EMOJI::🇸🇬 Japan = smart, policy-regex-filter=(?i)🇯🇵|日本|东京|(\b(JP|Japan)\b), include-other-group=Manual, icon-url=EMOJI::🇯🇵 Taiwan = smart, policy-regex-filter=(?i)🇨🇳|🇹🇼|台湾|(\b(TW|Tai|Taiwan)\b), include-other-group=Manual, icon-url=EMOJI::🇨🇳 [Rule] # Direct Fix RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Direct.list,DIRECT # Reject Ads RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Ads_SukkaW.list,REJECT,pre-matching #!MACOS-ONLY RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Reject.list,REJECT,pre-matching # AIGC RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/AI.list,AI # Telegram RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Telegram.list,Telegram # Social Media RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Twitter.list,Social RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Facebook.list,Social RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/TikTok.list,Social # Game RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Steam.list,Game RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Epic.list,Game # Google RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Google.list,Google # Microsoft RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Github.list,Microsoft RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Microsoft.list,Microsoft # Streaming RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Emby.list,Emby RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Spotify.list,Spotify RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Bahamut.list,Streaming RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Netflix.list,Streaming,extended-matching RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Disney.list,Streaming RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/PrimeVideo.list,Streaming RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/HBO.list,Streaming # Proxy RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/Proxy.list,Global # Apple RULE-SET,https://github.com/Repcz/Tool/raw/X/Surge/Rules/AppleServers.list,HongKong # Local Aera Network RULE-SET,LAN,DIRECT # China GEOIP,CN,DIRECT # FInal FINAL,Final [Host] iosapps.itunes.apple.com = iosapps.itunes.apple.com.download.ks-cdn.com // App Store 下载请求解析 金山CDN [MITM] # MITM over HTTP/2 h2 = true [MTProto] interface = 127.0.0.1 port = 2887 secret = dd26d1e7523936deb5c47ad16b31fb0719 ipv6 = true dc-config-url = https://github.com/Repcz/Tool/raw/X/Surge/mtproto-dc-config.json