Sukka 规则集
由 Sukka 收集、整理、维护的个人自用规则集,适用于 Surge、Clash Meta (mihomo) 和 sing-box。
条款和协议
除 List/ip/china_ip.conf
文件使用 CC BY-SA 2.0 协议分享外,本项目其余部分均采用 AGPL-3.0 协议开源,不提供任何担保。即:本项目的作者和所有贡献者不提供任何技术支持,也不对你的任何损失负责。这包括但不限于:软件无法启动或正常工作、内核崩溃、设备无法开机或正常使用、硬盘损坏或数据丢失、核弹爆炸、第三次世界大战、SCP 基金会无法阻止的全球 CK 级现实重构等。
如果你正在使用商业性质的公共代理服务,请务必仔细阅读相关服务商的服务条款与条件(ToS)。某些公共代理服务商的条款规定,使用任何第三方规则文件将被视为自动放弃 SLA 和技术支持服务。
如果你从 Sukka 提供的规则集服务器(https://ruleset.skk.moe
)获取本项目中的规则组文件,即表示你已知晓并同意隐私政策中的所有条款。如不同意,请通过 GitHub 获取本项目源码并自行构建规则组文件。
规则组列表
请务必按照 domainset
、non_ip
、ip
的顺序,并遵循 README 中的顺序将规则组添加到你的配置文件中,确保所有 domainset
或 non_ip
规则组位于所有 ip
规则组之前。
Surge 和 Clash 会按照规则在配置中的顺序从上到下逐一匹配,只有在进行 IP 规则匹配、FINAL 或 direct 策略时才会进行 DNS 解析。按照特定顺序添加规则组可以避免不必要的 DNS 解析。
广告拦截 / 隐私保护 / 恶意软件拦截 / 钓鱼网站拦截
- 自动生成
- 数据来源、白名单域名列表和生成方式请参考
build-reject-domainset.ts
- 仅建议在 Surge for Mac 上使用,移动平台请使用专门工具(如 ADGuard for Android/iOS)以获得更好性能
- 不能替代浏览器广告屏蔽扩展(如 AdGuard for Browser)
Surge
# Non IP
# 基础的 12 万拦截域名
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT,extended-matching
# 额外 20 万拦截域名,作为基础的补充,启用时需要搭配基础一起使用
# 在 Surge 5 for Mac(或更新版本),即使同时启用基础和额外的拦截域名也不会导致匹配性能下降或内存占用过高
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject_extra.conf,REJECT,extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-no-drop.conf,REJECT-NO-DROP,extended-matching
RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-drop.conf,REJECT-DROP,extended-matching
# URL-REGEX
# 需搭配 Surge 模块 https://ruleset.skk.moe/Modules/sukka_mitm_hostnames.sgmodule 使用
# MITM 和 URL-REGEX 性能开销极大,不推荐使用
# RULE-SET,https://ruleset.skk.moe/List/non_ip/reject-url-regex.conf,REJECT
# IP
RULE-SET,https://ruleset.skk.moe/List/ip/reject.conf,REJECT-DROP
Clash Meta
rule-providers:
reject_non_ip_no_drop:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/reject-no-drop.txt
path: ./sukkaw_ruleset/reject_non_ip_no_drop.txt
reject_non_ip_drop:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/reject-drop.txt
path: ./sukkaw_ruleset/reject_non_ip_drop.txt
reject_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/reject.txt
path: ./sukkaw_ruleset/reject_non_ip.txt
reject_domainset:
type: http
behavior: domain
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/domainset/reject.txt
path: ./sukkaw_ruleset/reject_domainset.txt
# 在 Clash 上,同时启用基础和额外的拦截域名会导致内存占用过高和匹配用时增加等性能问题
reject_extra_domainset:
type: http
behavior: domain
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/domainset/reject_extra.txt
path: ./sukkaw_ruleset/reject_domainset_extra.txt
reject_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/reject.txt
path: ./sukkaw_ruleset/reject_ip.txt
rules:
- RULE-SET,reject_non_ip,REJECT
- RULE-SET,reject_domainset,REJECT
- RULE-SET,reject_extra_domainset,REJECT
- RULE-SET,reject_ip,REJECT
- RULE-SET,reject_non_ip_drop,REJECT-DROP
- RULE-SET,reject_non_ip_no_drop,REJECT
搜狗输入法
- 人工维护
- 该规则组用于防止搜狗输入法自动收集并通过
get.sogou.com/q
等域名回传你输入的每个字符 - 会影响搜狗输入法的账号同步、词库更新和问题反馈功能 Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/sogouinput.conf,REJECT
Clash Meta
rule-providers:
sogouinput:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/sogouinput.txt
path: ./sukkaw_ruleset/sogouinput.txt
rules:
- RULE-SET,sogouinput,REJECT
Speedtest 测速域名
- 通过 Speedtest API 获取数十个常见地区的
speedtest.net
测速点服务器域名 - 人工维护 macOS
netQuality
等其它测速工具的测速服务器域名 fast.com
测速点与 Netflix CDN 共享基础设施和域名,会影响流媒体分流,因此不包含在此规则组中- 实现指定使用某网络出口测速,同时不影响通过主要出口正常上网
Surge
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/speedtest.conf,[替换你的策略名],extended-matching
常见静态 CDN
- 自动生成 + 人工维护
- 包含所有常见静态资源 CDN 域名、对象存储域名
- 如果你正在使用商业性质的公共代理服务,且你的服务商提供按低倍率结算流量消耗的节点,可使用上述规则组将流量分配给这部分节点
Surge
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/cdn.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/non_ip/cdn.conf,[替换你的策略名]
Clash Meta
rule-providers:
cdn_domainset:
type: http
behavior: domain
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/domainset/cdn.txt
path: ./sukkaw_ruleset/cdn_domainset.txt
cdn_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/cdn.txt
path: ./sukkaw_ruleset/cdn_non_ip.txt
rules:
- RULE-SET,cdn_domainset,[替换你的策略名]
- RULE-SET,cdn_non_ip,[替换你的策略名]
流媒体
- 人工维护
- 包含 4gtv、AbemaTV、All4、Amazon Prime Video、Apple TV、Apple Music TV、Bahamut、BBC、Bilibili Intl、DAZN、Deezer、Disney+、Discovery+、DMM、encoreTVB、Fox Now、Fox+、HBO GO/Now/Max/Asia、Hulu、HWTV、JOOX、Jwplayer、KKBOX、KKTV、Line TV、Naver TV、myTV Super、Netflix、niconico、Now E、Paramount+、PBS、Peacock、Pandora、PBS、Pornhub、SoundCloud、PBS、Spotify、TaiwanGood、Tiktok Intl、Twitch、ViuTV、ShowTime、iQiYi Global、Himalaya Podcast、Overcast、WeTV 的规则组
Surge
# 北美相关流媒体
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_us.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/ip/stream_us.conf,[替换你的策略名]
# 欧洲相关流媒体
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_eu.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/ip/stream_eu.conf,[替换你的策略名]
# 日本相关流媒体
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_jp.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/ip/stream_jp.conf,[替换你的策略名]
# 韩国相关流媒体
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_kr.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/ip/stream_kr.conf,[替换你的策略名]
# 香港相关流媒体
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_hk.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/ip/stream_hk.conf,[替换你的策略名]
# 台湾相关流媒体
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream_tw.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/ip/stream_tw.conf,[替换你的策略名]
# 所有流媒体(包括上述所有流媒体)
RULE-SET,https://ruleset.skk.moe/List/non_ip/stream.conf,[替换你的策略名]
RULE-SET,https://ruleset.skk.moe/List/ip/stream.conf,[替换你的策略名]
Clash Meta
rule-providers:
# 北美相关流媒体
stream_us_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/stream_us.txt
path: ./sukkaw_ruleset/stream_us_non_ip.txt
stream_us_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/stream_us.txt
path: ./sukkaw_ruleset/stream_us_ip.txt
# 欧洲相关流媒体
stream_eu_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/stream_eu.txt
path: ./sukkaw_ruleset/stream_eu_non_ip.txt
stream_eu_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/stream_eu.txt
path: ./sukkaw_ruleset/stream_eu_ip.txt
# 日本相关流媒体
stream_jp_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/stream_jp.txt
path: ./sukkaw_ruleset/stream_jp_non_ip.txt
stream_jp_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/stream_jp.txt
path: ./sukkaw_ruleset/stream_jp_ip.txt
# 韩国相关流媒体
stream_kr_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/stream_kr.txt
path: ./sukkaw_ruleset/stream_kr_non_ip.txt
stream_kr_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/stream_kr.txt
path: ./sukkaw_ruleset/stream_kr_ip.txt
# 香港相关流媒体
stream_hk_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/stream_hk.txt
path: ./sukkaw_ruleset/stream_hk_non_ip.txt
stream_hk_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/stream_hk.txt
path: ./sukkaw_ruleset/stream_hk_ip.txt
# 台湾相关流媒体
stream_tw_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/stream_tw.txt
path: ./sukkaw_ruleset/stream_tw_non_ip.txt
stream_tw_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/stream_tw.txt
path: ./sukkaw_ruleset/stream_tw_ip.txt
# 所有流媒体(包括上述所有流媒体)
stream_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/stream.txt
path: ./sukkaw_ruleset/stream_non_ip.txt
stream_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/stream.txt
path: ./sukkaw_ruleset/stream_ip.txt
rules:
- RULE-SET,stream_us_non_ip,[替换为您的策略]
- RULE-SET,stream_eu_non_ip,[替换为您的策略]
- RULE-SET,stream_jp_non_ip,[替换为您的策略]
- RULE-SET,stream_kr_non_ip,[替换为您的策略]
- RULE-SET,stream_hk_non_ip,[替换为您的策略]
- RULE-SET,stream_tw_non_ip,[替换为您的策略]
- RULE-SET,stream_non_ip,[替换为您的策略]
- RULE-SET,stream_us_ip,[替换为您的策略]
- RULE-SET,stream_eu_ip,[替换为您的策略]
- RULE-SET,stream_jp_ip,[替换为您的策略]
- RULE-SET,stream_kr_ip,[替换为您的策略]
- RULE-SET,stream_hk_ip,[替换为您的策略]
- RULE-SET,stream_tw_ip,[替换为您的策略]
- RULE-SET,stream_ip,[替换为您的策略]
AI
- 域名规则 人工维护
- 包含 OpenAI、Google Gemini、Claude、Perplexity 等
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/ai.conf,[替换为您的策略]
Clash Meta
rule-providers:
ai_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/ai.txt
path: ./sukkaw_ruleset/ai_non_ip.txt
rules:
- RULE-SET,ai_non_ip,[替换为您的策略]
Telegram
- 域名规则 人工维护
- IP CIDR 规则 自动生成(数据来源:
https://core.telegram.org/resources/cidr.txt
) - ASN 规则 人工维护
推荐仅使用 IP CIDR 规则。IP CIDR 规则数据完全来自 Telegram 官方发布的 CIDR 列表,不包含 Telegram 尚未启用的 CDN、数据中心的 IP。 ASN 规则仅适合作为补充;搭配非官方 MaxMind GeoLite 数据库(例如 GeoIP2-CN)使用时会影响匹配。
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/telegram.conf,[替换为您的策略]
RULE-SET,https://ruleset.skk.moe/List/ip/telegram.conf,[替换为您的策略]
RULE-SET,https://ruleset.skk.moe/List/ip/telegram_asn.conf,[替换为您的策略]
Clash Meta
rule-providers:
telegram_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/telegram.txt
path: ./sukkaw_ruleset/telegram_non_ip.txt
telegram_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/telegram.txt
path: ./sukkaw_ruleset/telegram_ip.txt
rules:
- RULE-SET,telegram_non_ip,[替换为您的策略]
- RULE-SET,telegram_ip,[替换为您的策略]
Apple CDN
- 自动生成
- 规则组包含苹果公司在中华人民共和国完成工信部ICP备案和公安网备、且在中国境内提供HTTP服务的域名。如果由于某些原因需要代理其中部分域名,请自行针对域名编写规则、并添加到当前规则组之前。
- 数据来源
felixonmars/dnsmasq-china-list
Surge
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/apple_cdn.conf,[替换为你的策略]
Clash Meta
rule-providers:
apple_cdn:
type: http
behavior: domain
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/domainset/apple_cdn.txt
path: ./sukkaw_ruleset/apple_cdn.txt
rules:
- RULE-SET,apple_cdn,[替换为你的策略]
苹果服务
- 人工维护
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/apple_services.conf,[替换为你的策略]
Clash Meta
rule-providers:
apple_services:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/apple_services.txt
path: ./sukkaw_ruleset/apple_services.txt
rules:
- RULE-SET,apple_services,[替换为你的策略]
苹果中国
- 人工维护
- 云上贵州(
icloud.com.cn
)和苹果地图大陆特供版等服务的域名。
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/apple_cn.conf,DIRECT
Clash Meta
rule-providers:
apple_cn_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/apple_cn.txt
path: ./sukkaw_ruleset/apple_cn_non_ip.txt
rules:
- RULE-SET,apple_cn_non_ip,[替换为你的策略]
微软CDN
- 自动生成
- 规则组包含微软在中华人民共和国完成工信部ICP备案和公安网备、且在中国境内提供HTTP服务的域名。如果由于某些原因需要代理其中部分域名,请自行针对域名编写规则、并添加到当前规则组之前。
- 数据来源
felixonmars/dnsmasq-china-list
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/microsoft_cdn.conf,[替换为你的策略]
Clash Meta
rule-providers:
microsoft_cdn_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/microsoft_cdn.txt
path: ./sukkaw_ruleset/microsoft_cdn_non_ip.txt
rules:
- RULE-SET,microsoft_cdn_non_ip,[替换为你的策略]
微软
- 人工维护
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/microsoft.conf,[替换为你的策略]
Clash Meta
rule-providers:
microsoft_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/microsoft.txt
path: ./sukkaw_ruleset/microsoft_non_ip.txt
rules:
- RULE-SET,microsoft_non_ip,[替换为你的策略]
网易云音乐
- 人工维护
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/neteasemusic.conf,[替换为你的策略]
RULE-SET,https://ruleset.skk.moe/List/ip/neteasemusic.conf,[替换为你的策略]
Clash Meta
rule-providers:
neteasemusic_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/neteasemusic.txt
path: ./sukkaw_ruleset/neteasemusic_non_ip.txt
neteasemusic_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/neteasemusic.txt
path: ./sukkaw_ruleset/neteasemusic_ip.txt
rules:
- RULE-SET,neteasemusic_non_ip,[替换为你的策略]
- RULE-SET,neteasemusic_ip,[替换为你的策略]
软件更新、操作系统等大文件下载
- 人工维护
- 这部分域名可能包含微软和苹果的国内CDN节点。你可以使用前文的微软CDN和苹果CDN规则组、并分配直连策略。
- 如果你正在使用商业性质的公共代理服务、且你的服务商提供按低倍率结算流量消耗的节点,可使用上述规则组将流量分配给这部分节点
Surge
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/download.conf,[替换为你的策略]
RULE-SET,https://ruleset.skk.moe/List/non_ip/download.conf,[替换为你的策略]
Clash Meta
rule-providers:
download_domainset:
type: http
behavior: domain
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/domainset/download.txt
path: ./sukkaw_ruleset/download_domainset.txt
download_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/download.txt
path: ./sukkaw_ruleset/download_non_ip.txt
rules:
- RULE-SET,download_domainset,[替换为你的策略]
- RULE-SET,download_non_ip,[替换为你的策略]
内网域名和局域网IP
- 人工维护
- 域名列表包含
.local
和局域网IP的in-addr.arpa
域名(即AS112域名)。这部分域名一般会被解析到局域网IP、需要走内网DNS解析、需要直连访问。 - Clash没有内置局域网IP规则列表(Surge内置有局域网IP规则列表
LAN
),需要手动引入。
Surge
# 非 IP
RULE-SET,https://ruleset.skk.moe/List/non_ip/lan.conf,DIRECT
# IP
RULE-SET,https://ruleset.skk.moe/List/ip/lan.conf,DIRECT
Clash Meta
rule-providers:
lan_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/lan.txt
path: ./sukkaw_ruleset/lan_non_ip.txt
lan_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/lan.txt
path: ./sukkaw_ruleset/lan_ip.txt
rules:
- RULE-SET,lan_non_ip,DIRECT
- RULE-SET,lan_ip,DIRECT
其他
- 人工维护
Surge
RULE-SET,https://ruleset.skk.moe/List/non_ip/domestic.conf,[替换为你的策略]
RULE-SET,https://ruleset.skk.moe/List/non_ip/direct.conf,[替换为你的策略]
RULE-SET,https://ruleset.skk.moe/List/non_ip/global.conf,PROXY
RULE-SET,https://ruleset.skk.moe/List/ip/domestic.conf,[替换为你的策略]
Clash Meta
rule-providers:
domestic_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/domestic.txt
path: ./sukkaw_ruleset/domestic_non_ip.txt
direct_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/direct.txt
path: ./sukkaw_ruleset/direct_non_ip.txt
global_non_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/non_ip/global.txt
path: ./sukkaw_ruleset/global_non_ip.txt
domestic_ip:
type: http
behavior: classical
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/domestic.txt
path: ./sukkaw_ruleset/domestic_ip.txt
rules:
- RULE-SET,domestic_non_ip,[替换为你的策略]
- RULE-SET,direct_non_ip,[替换为你的策略]
- RULE-SET,global_non_ip,[替换为你的策略]
- RULE-SET,domestic_ip,[替换为你的策略]
中国路由 CIDR
- 自动生成
- IPv4 原始数据 由 Misaka Network, Inc. 以 CC BY-SA 2.0 协议发布,二次处理补充合并了 Misaka Network, Inc. 收不到 BGP 路由的部分国内段、排除了被 Misaka Network, Inc. 误收的在香港广播的 IP 段(通常由中国移动国际 CMI 广播)
- IPv6 原始数据由 gaoyifan/china-operator-ip 以 MIT 协议发布
Surge
RULE-SET,https://ruleset.skk.moe/List/ip/china_ip.conf,[替换为你的策略]
# 仅在使用 IPv6 时使用
# RULE-SET,https://ruleset.skk.moe/List/ip/china_ip_ipv6.conf,[替换为你的策略]
Clash Meta
rule-providers:
china_ip:
type: http
behavior: ipcidr
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/china_ip.txt
path: ./sukkaw_ruleset/china_ip.txt
china_ip_ipv6:
type: http
behavior: ipcidr
format: text
interval: 43200
url: https://ruleset.skk.moe/Clash/ip/china_ip_ipv6.txt
path: ./sukkaw_ruleset/china_ipv6.txt
rules:
- RULE-SET,china_ip,[替换为你的策略]
# 仅在使用 IPv6 时使用
# - RULE-SET,china_ip_ipv6,[替换为你的策略]
Surge 模块列表
- Sukka URL 重写:
https://ruleset.skk.moe/Modules/sukka_url_rewrite.sgmodule
- Sukka Surge 网络测试域名:
https://ruleset.skk.moe/Modules/sukka_surge_network_test_domain.sgmodule
- Sukka MITM 主机名:
https://ruleset.skk.moe/Modules/sukka_mitm_hostnames.sgmodule
- Sukka MITM 所有主机名:
https://ruleset.skk.moe/Modules/sukka_mitm_all_hostnames.sgmodule
- 从 Surge VIF 排除保留 IP:
https://ruleset.skk.moe/Modules/sukka_exclude_reservered_ip.sgmodule
- 常见始终真实 IP 主机名:
https://ruleset.skk.moe/Modules/sukka_common_always_realip.sgmodule
- 将 Google CN 重定向到 Google:
https://ruleset.skk.moe/Modules/google_cn_307.sgmodule
常见问题
这是什么?
我也不知道。
有适用于 Clash 的规则组吗?
规则组支持 Clash Meta(mihomo)。"Surge 模块"不适用于任何版本的 Clash。
有适用于 Shadowrocket、Quantumult X、Loon、V2RayNG 的规则组吗?
没有。而且未来一定不会有。
这些规则组可被用于 Surfboard 吗?
如果 Surfboard 能够完整解析 Surge 的所有语法,且在导入/处理规则组时、不被支持的语法(如涉及到 MITM 的 URL-REGEX
、仅适用于 HTTP/HTTPS 请求的 USER-AGENT
、仅支持 PC/Mac 平台的 PROCESS-NAME
)在处理时仅静默错误,则可用于 Surfboard,反之则不适用。
我使用你的规则组,结果出了问题,我该如何反馈?
不,你不能。
那我能参与维护项目、修复问题吗?
如果你的拉取请求出现在了我的 GitHub 通知收件箱中、然后被我看到了的话,我会审核的。
许可证
List/ip/china_ip.conf
文件使用 CC BY-SA 2.0 许可证。其余文件使用 AGPL-3.0 许可证。
Surge © Sukka,由 Sukka 创作和维护,在贡献者的帮助下(列表)。
个人网站 · 博客 · GitHub @SukkaW · Telegram 频道 @SukkaChannel · Twitter @isukkaw · Keybase @sukka