# 订阅频道:https://t.me/i_chl # 仓库地址:https://github.com/sunfing/iNg/blob/main/Config/ConfigForSurge # 本配置文件携带大量的注释,尽可能解释全部代码内容,其余不懂地方建议看官方文档 https://manual.nssurge.com/book/understanding-surge/cn # 初次使用建议详细阅读注释内容并修改必要的内容,如:在“节点集合节点组”填写订阅链接 [General] # > 日志等级 loglevel = notify # > 跳过代理,适用于 HTTP/HTTPS 和其他协议请求,主要针对代理流量,对所有适用的请求生效,但不影响 TUN 接口的流量处理 skip-proxy = "localhost", "*.local", "injections.adguard.org", "local.adguard.org", "captive.apple.com", "guzzoni.apple.com", "0.0.0.0/8", "10.0.0.0/8", "17.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.168.0.0/16", "192.88.99.0/24", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "224.0.0.0/4", "240.0.0.0/4", "255.255.255.255/32" # > 自定义 DNS 服务器 dns-server = 223.5.5.5, 114.114.114.114 # > 加密的 DNS 服务器 # 同时支持 DoH (DNS over HTTPS) 与 DoT (DNS over TLS),非必要不启用 # encrypted-dns-server = https://doh.pub/dns-query, https://dns.alidns.com/dns-query # > 劫持其它 DNS 服务器 hijack-dns = *:53 # > 从 /etc/hosts 读取 DNS 记录 read-etc-hosts = true # > 返回真实 IP always-real-ip = , "+.lan", "+.local", "+.localhost", "+.direct", "+.example", "+.invalid", "+.test", "+.home.arpa", "time.*.com", "time.*.gov", "time.*.edu.cn", "time.*.apple.com", "time-ios.apple.com", "time1.*.com", "time2.*.com", "time3.*.com", "time4.*.com", "time5.*.com", "time6.*.com", "time7.*.com", "ntp.*.com", "ntp1.*.com", "ntp2.*.com", "ntp3.*.com", "ntp4.*.com", "ntp5.*.com", "ntp6.*.com", "ntp7.*.com", "+.time.edu.cn", "+.ntp.org.cn", "+.pool.ntp.org", "time1.cloud.tencent.com", "+.msftconnecttest.com", "+.msftncsi.com", "stun.*.*", "stun.*.*.*", "+.stun.*.*", "+.stun.*.*.*", "+.stun.*.*.*.*", "+.stun.*.*.*.*.*" # > 国内测速 URL internet-test-url = http://www.baidu.com # > 代理测速 URL proxy-test-url = http://www.google.com/generate_204 # > 测试超时(秒) test-timeout = 3 # > 自定义 GeoIP 数据库 URL geoip-maxmind-url = https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb # > 禁用 GeoIP 自动更新 disable-geoip-db-auto-update = false # > IPv6 DNS 查询,默认关闭 ipv6 = false # > IPv6 VIF,默认禁用 ipv6-vif = disabled # > 允许 Wi-Fi 访问 allow-wifi-access = true # > 允许个人热点访问 allow-hotspot-access = true # > HTTP 代理服务端口 wifi-access-http-port = 7890 # > SOCKS5 代理服务端口 wifi-access-socks5-port = 7891 # > Wi-Fi 助理,Wi-Fi 网络不佳时尝试使用蜂窝数据建立连接 wifi-assist = false # > 网络并发,Wi-Fi 网络不佳时同时使用 Wi-Fi 和蜂窝数据的连接 all-hybrid = false # > 隐藏状态栏中的 VPN 图标 hide-vpn-icon = false # > 远程控制器 external-controller-access = surgepassword@127.0.0.1:9090 # > HTTP API,可使用另一个 App 或者设备通过 HTTP API 控制 Surge http-api = surgepassword@127.0.0.1:9191 # Web 控制器开关 http-api-web-dashboard = true # > 当遇到 REJECT 策略时返回错误页 show-error-page-for-reject = true # > 排除简单主机名,与 skip-proxy 参数一样,此选项允许请求使用由 Surge VIF 而不是 Surge 代理处理的简单主机名(不带点),比如:mysql01、redis01 exclude-simple-hostnames = true # > TLS 引擎 default/secure-transport/openssl/network-framework,OpenSSL 或者 Network.Framework,可开启 TLS 1.3 支持,OpenSSL 更稳定、Network.Framework 可提供更多功能 tls-provider = openssl # > Network framwork,是否使用 Apple 的 Network Framework 来处理网络连接 network-framework = false # > 兼容模式,默认禁用 # 0:自动,在 5.8.0 之前的 Surge iOS 版本中,这相当于 1,从 5.8.0 开始,它相当于 3 # 1:代理接管 + VIF,在此模式下代理接管的优先级高于 VIF 接管,提供最佳性能,但某些应用程序可能会检查代理设置并拒绝工作 # 2:仅代理接管 # 3:仅 VIF 接管,最新版本的默认工作模式 # 4:代理接管 + VIF,但代理使用 VIF 地址而不是环回地址 # 5:代理接管 + VIF,但 VIF 路由使用多个较小的路由进行接管,没有配置默认路由,可以用来绕过一些特殊问题,例如:HomeKit 安防摄像头 # compatibility-mode = 0 # > Surge VIF,适用于 TCP/UDP 流量,Surge VIF 接口可以看作是 TUN 接口的一种特殊实现 # > 排除特定 IP 地址或网段,使这些流量不通过 TUN 接口处理,而是直接走系统默认路由 # tun-excluded-routes = 0.0.0.0/8, 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.168.0.0/16, 192.88.99.0/24, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32 # > 默认情况下,Surge VIF 接口将自身声明为默认路由,但是由于 Wi-Fi 接口的路由较小,因此某些流量可能无法通过 Surge VIF 接口,使用此选项可添加较小的路由 # tun-included-routes = 192.168.1.5/32 # > 当节点不支持 UDP 时,默认 fallback 到 reject udp-policy-not-supported-behaviour = REJECT [Proxy Group] # no-alert = 0/1 含义:控制是否在更新时弹出提示。0 表示更新时会弹出提示,提醒用户订阅内容已更新。1 表示更新时不弹出提示,静默更新。 # hidden = 0/1 含义:控制是否在界面上显示该订阅。0 表示该订阅在 Surge 的界面上是可见的。1 表示该订阅是隐藏的,不会在界面上显示。 # include-all-proxies = 0/1 含义:控制是否在订阅中包含所有代理。0 表示不包含所有代理,可能只包含某些特定类型的代理或规则。1 表示包含所有代理,无论类型。 # persistent = 0/1 含义:控制订阅是否持久化。0 表示订阅内容不会持久化,可能在某些情况下会被清除。1 表示订阅内容会持久化,确保在应用重启或网络切换时保持不变。 # > 策略组 # 大类速选策略组 · 默认代理 = select, · 全球直连, · 全球拦截, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Surge1.png · 谷歌推送 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Speaker.png · 即时通讯 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Message.png · 新闻社交 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/News.png · 语言模型 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/AIGC.png · 流媒体集 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Clapper.png · 流媒自动 = url-test, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, hidden = 1, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Clapper.png # 节点测速策略组 · 速度测试 = select, · 全球直连, · 默认代理, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Speedtest.png # 细分套娃策略组 · 电报消息 = select, · 全球直连, · 默认代理, · 即时通讯, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Telegram.png · 语音社群 = select, · 全球直连, · 默认代理, · 即时通讯, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Discord.png · 苹果新闻 = select, · 全球直连, · 默认代理, · 新闻社交, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/AppleNews.png · 推特推特 = select, · 全球直连, · 默认代理, · 新闻社交, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Twitter.png · 晒照片墙 = select, · 全球直连, · 默认代理, · 新闻社交, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Instagram.png · ChatGPT = select, · 全球直连, · 默认代理, · 语言模型, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/OpenAI1.png · Claude = select, · 全球直连, · 默认代理, · 语言模型, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/ClaudeAI.png · Gemini = select, · 全球直连, · 默认代理, · 语言模型, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Gemini.png · Copilot = select, · 全球直连, · 默认代理, · 语言模型, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Copilot.png · 媒体影院 = select, · 全球直连, · 默认代理, · 观影节点, · 观影自动, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Emby.png · 声田音乐 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Spotify.png · 油管音乐 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/YouTubeMusic.png · 抖音国际 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/TikTok.png · 推趣直播 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Twitch.png · 哔哩哔哩 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Bilibili.png · 油管视频 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/YouTube.png · 苹果电视 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/AppleTV.png · 奈飞视频 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Netflix.png · 迪士尼加 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Disney+.png · 麦克斯斯 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/HBO.png · 亚马逊逊 = select, · 全球直连, · 默认代理, · 流媒体集, · 流媒自动, · 省流节点, · 省流自动, · 港流媒体, · 台流媒体, · 狮流媒体, · 日流媒体, · 美流媒体, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/PrimeVideo.png # 细分默认策略组 · 下载服务 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/iCloud.png · 开源托管 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/GitHub.png · 云端防护 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Cloudflare.png · 苹果服务 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Apple.png · 微软服务 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Microsoft.png · 谷歌服务 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Google.png · 游戏服务 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Game.png # 流量兜底策略组 · 漏网之鱼 = select, · 全球直连, · 默认代理, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Final.png # 直连与拦截策略组 · 全球直连 = select, DIRECT, REJECT, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, hidden = 1, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Direct.png · 全球拦截 = select, REJECT, DIRECT, · 省流节点, · 省流自动, · 香港手动, · 台湾手动, · 狮城手动, · 日本手动, · 美国手动, · 香港自动, · 台湾自动, · 狮城自动, · 日本自动, · 美国自动, · 家宽自选, · 常用自选, · 冷门自选, · 节点集合, hidden = 1, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Reject.png # > 节点组 # 自定义节点组 · 观影节点 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(emby)), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/CD.png # 不区分大小写匹配关键字 · 观影自动 = smart, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 1, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(emby)), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/CD.png # 不区分大小写匹配关键字 · 省流节点 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(emby)).*(0\.), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Heart.png # 不区分大小写过滤前者并匹配后者 · 省流自动 = smart, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 1, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(emby)).*(0\.), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Heart.png # 不区分大小写过滤前者并匹配后者 # 国家或地区手动切换节点组 · 香港手动 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇭🇰|香港|\b(hk|h\.k\.)\b|hong\ kong|hongkong)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png · 台湾手动 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇨🇳|🇹🇼|台湾|\b(tw)\b|taiwan)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/China.png · 狮城手动 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇸🇬|新加坡|\b(sg)\b|singapore)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png · 日本手动 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇯🇵|日本|\b(jp)\b|japan)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png · 美国手动 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇺🇸|美国|\b(us|u\.s\.)\b|united\ states|unitedstates)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png # · 澳门手动 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇲🇴|澳门|\b(mo)\b|macao)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Macao.png # · 俄国手动 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇷🇺|俄罗斯|\b(ru)\b|russia)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Russia.png # 国家或地区流媒体手动切换节点组 · 港流媒体 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇭🇰|香港|\b(hk|h\.k\.)\b|hong\ kong|hongkong)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png · 台流媒体 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇨🇳|🇹🇼|台湾|\b(tw)\b|taiwan)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/China.png · 狮流媒体 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇸🇬|新加坡|\b(sg)\b|singapore)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png · 日流媒体 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇯🇵|日本|\b(jp)\b|japan)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png · 美流媒体 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇺🇸|美国|\b(us|u\.s\.)\b|united\ states|unitedstates)), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png # 国家或地区智能选择节点组 · 香港自动 = smart, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 1, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(emby|\b(fam)\b|家宽)).*(🇭🇰|香港|\b(hk|h\.k\.)\b|hong\ kong|hongkong), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Hong_Kong.png · 台湾自动 = smart, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 1, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(emby|\b(fam)\b|家宽)).*(🇨🇳|🇹🇼|台湾|\b(tw)\b|taiwan), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/China.png · 狮城自动 = smart, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 1, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(emby|\b(fam)\b|家宽)).*(🇸🇬|新加坡|\b(sg)\b|singapore), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Singapore.png · 日本自动 = smart, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 1, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(emby|\b(fam)\b|家宽)).*(🇯🇵|日本|\b(jp)\b|japan), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Japan.png · 美国自动 = smart, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 1, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(emby|\b(fam)\b|家宽|starlink)).*(🇺🇸|美国|\b(us|u\.s\.)\b|united\ states|unitedstates), icon-url = https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/United_States.png # 家宽自选节点组 · 家宽自选 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(\b(fam)\b|家宽)), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Fam.png # 常用自选节点组 · 常用自选 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)(?=.*(🇭🇰|香港|\b(hk|h\.k\.)\b|hong\ kong|hongkong|🇨🇳|🇹🇼|台湾|\b(tw)\b|taiwan|🇸🇬|狮城|新加坡|\b(sg)\b|singapore|🇯🇵|日本|\b(jp)\b|japan|🇺🇸|美国|\b(us|u\.s\.)\b|united\ states|unitedstates)), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Hot.png # 冷门自选节点组 · 冷门自选 = select, include-other-group = · 节点集合, update-interval = 0, no-alert = 0, hidden = 0, include-all-proxies = 0, policy-regex-filter = (?i)^(?!.*(🇭🇰|香港|\b(hk|h\.k\.)\b|hong\ kong|hongkong|🇨🇳|🇹🇼|台湾|\b(tw)\b|taiwan|🇸🇬|狮城|新加坡|\b(sg)\b|singapore|🇯🇵|日本|\b(jp)\b|japan|🇺🇸|美国|\b(us|u\.s\.)\b|united\ states|unitedstates)), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Cold.png # 节点集合节点组 ###### 👇👇👇 policy-path 填写订阅链接 👇👇👇 ###### · 节点集合 = select, include-other-group = "· 机场一", no-alert = 0, hidden = 0, include-all-proxies = 1, policy-regex-filter = (?i)^(?!.*(email|expire|test|total|traffic|use|used|版本|备用|不推荐|测试|到期|订阅|工单|官方|官网|官址|过期|获取|机场|客服|联系|流量|群|剩余|失联|套餐|网站|网址|下次|学术|已用|邮箱|有效)), icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Available.png · 机场一 = select, policy-path = "订阅链接", update-interval=86400, no-alert = 0, hidden = 0, include-all-proxies = 0, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Available.png # · 机场二 = select, policy-path = "订阅链接", update-interval=86400, no-alert = 0, hidden = 0, include-all-proxies = 0, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Available.png # · 机场三 = select, policy-path = "订阅链接", update-interval=86400, no-alert = 0, hidden = 0, include-all-proxies = 0, icon-url = https://raw.githubusercontent.com/sunfing/iNg/main/Icons/GeneralIcons/Available.png [Rule] # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Lan/Lan.list, · 全球直连, update-interval=86400 # RULE-SET, https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-surge.txt, · 全球拦截, update-interval=86400, extended-matching # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Emby/Emby.list, · 媒体影院, update-interval=86400 # Emby/Jellyfin # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Speedtest/Speedtest.list, · 速度测试, update-interval=86400 # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GoogleFCM/GoogleFCM.list, · 谷歌推送, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/WeChat/WeChat.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list, · 电报消息, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Discord/Discord.list, · 语音社群, update-interval=86400 # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/AppleNews/AppleNews.list, · 苹果新闻, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Twitter/Twitter.list, · 推特推特, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Instagram/Instagram.list, · 晒照片墙, update-interval=86400 # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/OpenAI/OpenAI.list, · ChatGPT, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Claude/Claude.list, · Claude, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Gemini/Gemini.list, · Gemini, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Copilot/Copilot.list, · Copilot, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/sunfing/iNg/main/Rules/AIGC/A_AIGC.list, · 语言模型, update-interval=86400 # 自定义 AIGC # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/AppleMusic/AppleMusic.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Spotify/Spotify.list, · 声田音乐, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTubeMusic/YouTubeMusic.list, · 油管音乐, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/TikTok/TikTok.list, · 抖音国际, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Twitch/Twitch.list, · 推趣直播, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list, · 哔哩哔哩, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list, · 油管视频, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/AppleTV/AppleTV.list, · 苹果电视, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list, · 奈飞视频, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list, · 迪士尼加, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/HBO/HBO.list, · 麦克斯斯, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/PrimeVideo/PrimeVideo.list, · 亚马逊逊, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list, · 流媒体集, update-interval=86400 # 与 MTIM 搭配使用 https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_MITM.sgmodule RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list, · 全球直连, update-interval=86400 # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Tencent/Tencent.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/TeamViewer/TeamViewer.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list, · 开源托管, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Cloudflarecn/Cloudflarecn.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Cloudflare/Cloudflare.list, · 云端防护, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list, · 苹果服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/OneDrive/OneDrive.list, · 下载服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list, · 微软服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GoogleDrive/GoogleDrive.list, · 下载服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Google/Google.list, · 谷歌服务, update-interval=86400 # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/SteamCN/SteamCN.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Game/GameDownloadCN/GameDownloadCN.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Game/GameDownload/GameDownload.list, · 下载服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list, · 游戏服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list, · 游戏服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Origin/Origin.list, · 游戏服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list, · 游戏服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list, · 游戏服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Xbox/Xbox.list, · 游戏服务, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Game/Game.list, · 游戏服务, update-interval=86400 # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Download/Download.list, · 全球直连, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/PrivateTracker/PrivateTracker.list, · 全球直连, update-interval=86400 # # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list, · 默认代理, update-interval=86400, extended-matching RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Global/Global_All_No_Resolve.list, · 默认代理, update-interval=86400, extended-matching # RULE-SET, https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaASN/ChinaASN.list, · 全球直连, extended-matching, update-interval=86400 RULE-SET, https://raw.githubusercontent.com/Blankwonder/surge-list/master/cn.list, · 全球直连, update-interval=86400 # RULE-SET, LAN, · 全球直连 # DOMAIN-SUFFIX, cn, · 全球直连 DOMAIN-KEYWORD, -cn, · 全球直连 # GEOIP, CN, · 全球直连 # FINAL, · 漏网之鱼, dns-failed [URL Rewrite] ^https?://(www.)?(g|google).cn https://www.google.com 302