-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclash_simple.ini
More file actions
86 lines (83 loc) · 7.44 KB
/
Copy pathclash_simple.ini
File metadata and controls
86 lines (83 loc) · 7.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[custom]
;设置规则标志位
;以下规则,按照从上往下的顺序遍历,优先命中上位规则,规则重复无影响
;修改顺序会影响分流效果
;本模版为url-select优化经过测试
;👇 个人规则
ruleset=🌐 全球直连,https://raw.githubusercontent.com/HGrover2022/clash-js/refs/heads/main/direct.yaml,86400
ruleset=🌐 全球直连,[]GEOSITE,category-game-platforms-download
;Spotify
ruleset=🎶 Spotify,[]GEOSITE,spotify
ruleset=🤖 AI服务,[]DOMAIN-SUFFIX,trae.com.cn
ruleset=🤖 AI服务,[]GEOSITE,category-ai-!cn
;社交媒体包括 Telegram/WhatsApp/Line/X(Twitter) 等海外主流社交与即时通讯平台
ruleset=💬 社交媒体,[]GEOIP,telegram,no-resolve
ruleset=💬 社交媒体,[]GEOSITE,x
ruleset=💬 社交媒体,[]GEOSITE,category-communication
ruleset=💬 社交媒体,[]GEOSITE,category-social-media-!cn
;本地地址和域名直连
ruleset=🌐 全球直连,[]GEOSITE,private
ruleset=🌐 全球直连,[]GEOIP,private,no-resolve
ruleset=🌐 全球直连,[]GEOSITE,category-games@cn
;开发社区,及数字货币
ruleset=💵 数字货币,[]GEOSITE,category-cryptocurrency
ruleset=💻 GitHub,[]GEOSITE,github
ruleset=💻 GitHub,[]GEOSITE,huaweicloud
ruleset=💻 GitHub,[]GEOSITE,category-dev
;流媒体包括 YouTube/TikTok/Emby/常规娱乐/Netflix/Nsfw/ST直播
ruleset=🎥 流媒体,[]GEOSITE,youtube
ruleset=🎥 流媒体,[]GEOSITE,tiktok
ruleset=🎥 流媒体,[]GEOSITE,category-emby
ruleset=🎥 流媒体,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/master/rule/Clash/Emby/Emby.yaml,86400
ruleset=🎥 流媒体,[]GEOIP,netflix,no-resolve
ruleset=🎥 流媒体,[]GEOSITE,category-porn
;游戏平台包括 Steam/Epic/EA/Blizzard/UBI/Xbox/PlayStation
ruleset=🍎 苹果服务,[]GEOSITE,apple
ruleset=Ⓜ️ 微软服务,[]GEOSITE,microsoft
ruleset=🇬 谷歌服务,[]GEOSITE,googlefcm
ruleset=🇬 谷歌服务,[]GEOSITE,google
ruleset=🌐 全球直连,[]GEOSITE,google-cn
ruleset=🎥 流媒体,[]GEOSITE,category-entertainment
;本项目收录的直连规则
ruleset=🌐 全球直连,clash-domain:https://testingcf.jsdelivr.net/gh/Aethersailor/Custom_OpenClash_Rules@main/rule/Custom_Direct_Domain.yaml,86400
ruleset=🌐 全球直连,clash-classic:https://testingcf.jsdelivr.net/gh/Aethersailor/Custom_OpenClash_Rules@main/rule/Custom_Direct_Classical_IP.yaml,86400
;BT Tracker 相关域名直连
ruleset=🌐 全球直连,[]GEOSITE,category-public-tracker
;由于 OpenClash 使用的大陆白名单收录不全,此处留有 geosite:cn 作为国内域名兜底
ruleset=🌐 全球直连,[]GEOSITE,cn
;由于 OpenClash 使用的大陆白名单收录不全,此处留有 geoip:cn 作为国内 IP 兜底
ruleset=🌐 全球直连,[]GEOIP,cn,no-resolve
;本项目收录的代理规则
ruleset=🪜 手动选择,clash-domain:https://testingcf.jsdelivr.net/gh/Aethersailor/Custom_OpenClash_Rules@main/rule/Custom_Proxy_Domain.yaml,86400
ruleset=🪜 手动选择,clash-classic:https://testingcf.jsdelivr.net/gh/Aethersailor/Custom_OpenClash_Rules@main/rule/Custom_Proxy_Classical_IP.yaml,86400
ruleset=🪜 手动选择,[]GEOSITE,gfw
;PT/BT 优化开启会使 80/443 以外端口的流量直连
ruleset=🔀 非标端口,clash-classic:https://raw.githubusercontent.com/jackieyiwu/Custom_OpenClash_Rules/refs/heads/main/rule/Custom_Port_Direct.yaml,86400
;国内冷门域名会命中漏网之鱼,如影响使用,请设置漏网之鱼直连
;漏网之鱼直连时,无法通过 DNS 泄露测试,但是并不存在泄露
ruleset=🐟 漏网之鱼,[]FINAL
;设置规则标志位结束
;设置节点分组标志位
custom_proxy_group=🪜 手动选择`select`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`.*
custom_proxy_group=♻️ 自动选择`url-test`.*`https://cp.cloudflare.com/generate_204`900,,50
custom_proxy_group=💻 GitHub`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`[]🌐 全球直连`.*
custom_proxy_group=🤖 AI服务`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`.*
custom_proxy_group=🎥 流媒体`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`.*
custom_proxy_group=🎶 Spotify`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`[]🌐 全球直连`.*
custom_proxy_group=💬 社交媒体`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`[]🌐 全球直连`.*
custom_proxy_group=🇬 谷歌服务`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`[]🌐 全球直连`.*
custom_proxy_group=🍎 苹果服务`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`[]🌐 全球直连`.*
custom_proxy_group=Ⓜ️ 微软服务`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`[]🌐 全球直连`.*
custom_proxy_group=💵 数字货币`select`[]🪜 手动选择`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`[]🌐 全球直连`.*
custom_proxy_group=🔀 非标端口`select`[]🌐 全球直连`[]🐟 漏网之鱼
custom_proxy_group=🇯🇵 日本自动`url-test`(🇯🇵|日本|Japan|JAPAN|JPN|NRT|HND|KIX|TYO|OSA|关西|Kansai|KANSAI)`https://cp.cloudflare.com/generate_204`900,,50
custom_proxy_group=🇹🇼 台湾自动`url-test`(🇹🇼|台|\bTW(?:[-_ ]?\d+(?:[-_ ]?[A-Za-z]{2,})?)?\b|tw|Taiwan|TAIWAN|TPE|KHH|台北|新北|桃园|台中|高雄)`https://cp.cloudflare.com/generate_204`900,,50
custom_proxy_group=🇸🇬 新加坡自动`url-test`(🇸🇬|新加坡|坡|狮城|br|\bSG(?:[-_ ]?\d+(?:[-_ ]?[A-Za-z]{2,})?)?\b|Singapore|SINGAPORE|SIN)`http://connectivitycheck.gstatic.com/generate_204`900,,50
custom_proxy_group=🇺🇸 美国自动`url-test`(🇺🇸|美|\bUS(?:[-_ ]?\d+(?:[-_ ]?[A-Za-z]{2,})?)?\b|United States|UnitedStates|UNITED STATES|USA)`https://cp.cloudflare.com/generate_204`900,,50
custom_proxy_group=🇭🇰 香港自动`url-test`(🇭🇰|港|\bHK(?:[-_ ]?\d+(?:[-_ ]?[A-Za-z]{2,})?)?\b|hk|Hong Kong|HongKong)`https://cp.cloudflare.com/generate_204`900,,50
custom_proxy_group=🐟 漏网之鱼`select`[]🪜 手动选择`[]🌐 全球直连`[]♻️ 自动选择`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动`.*
custom_proxy_group=🌐 全球直连`select`[]DIRECT`[]🇯🇵 日本自动`[]🇹🇼 台湾自动`[]🇸🇬 新加坡自动`[]🇺🇸 美国自动`[]🇭🇰 香港自动
;设置分组标志位
;下方参数请勿修改
enable_rule_generator=true
overwrite_original_rules=true