- PC相比 Mobile 只是去除了GEOSITE Rules
- PC 推荐 Release Clash Verge Rev v1.7.7 · clash-verge-rev/clash-verge-rev · GitHub
- Android Release v2.10.4 · MetaCubeX/ClashMetaForAndroid · GitHub
- 建议订阅使用 SubStore 做转换,只保留节点数据并上传 gist
Desktop yaml
https://gist.githubusercontent.com/WhyMeta/d2b5f1c56ef5782fd59aa8c25d03451b/raw/Desktop.Clash.MetaCubeX.yaml
or
https://mirror.ghproxy.com/https://gist.githubusercontent.com/WhyMeta/d2b5f1c56ef5782fd59aa8c25d03451b/raw/Desktop.Clash.MetaCubeX.yaml
Mobile yaml
https://gist.githubusercontent.com/WhyMeta/d2b5f1c56ef5782fd59aa8c25d03451b/raw/Mobile.Clash.MetaCubeX.yaml
or
https://mirror.ghproxy.com/https://gist.githubusercontent.com/WhyMeta/d2b5f1c56ef5782fd59aa8c25d03451b/raw/Mobile.Clash.MetaCubeX.yaml
桌面端:
# url 里填写自己的订阅,名称不能重复
proxy-providers:
ProviderAirPort:
url: ""
type: http
interval: 86400
health-check: {enable: true,url: "http://www.apple.com/library/test/success.html",interval: 300}
# override:
# additional-prefix: "[ProviderAirPort]"
proxies:
- name: "直连"
type: direct
mixed-port: 7890
ipv6: false
allow-lan: true
unified-delay: false
tcp-concurrent: true
external-controller: 127.0.0.1:9090
external-ui: ui
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
keep-alive-interval: 1800
geodata-mode: true
geodata-loader: standard
geo-auto-update: false
geo-update-interval: 24
geox-url:
geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat"
geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://cdn.jsdelivr.net/gh/soffchen/GeoIP2-CN@release/Country.mmdb"
asn: "https://mirror.ghproxy.com/https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb"
find-process-mode: strict
global-client-fingerprint: chrome
profile:
store-selected: true
store-fake-ip: true
sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
skip-domain:
- "Mijia Cloud"
- "+.push.apple.com"
tun:
enable: true
stack: mixed
dns-hijack:
- "any:53"
- "tcp://any:53"
auto-route: true
auto-redirect: true
auto-detect-interface: true
dns:
enable: true
ipv6: false
respect-rules: true
enhanced-mode: fake-ip
fake-ip-filter:
- "*"
- "+.lan"
- "+.local"
- "+.market.xiaomi.com"
nameserver:
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
proxy-server-nameserver:
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
nameserver-policy:
"rule-set:cn_domain,private_domain":
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
"rule-set:geolocation-!cn":
- "https://dns.cloudflare.com/dns-query"
- "https://dns.google/dns-query"
proxy-groups:
- name: 默认
type: select
proxies: [自动选择,香港,台湾,日本,新加坡,美国,全部节点,直连]
- name: Google
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: Telegram
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: Twitter
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: YouTube
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: Github
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: OpenAI
type: select
proxies: [默认,台湾,日本,新加坡,美国]
- name: Microsoft
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: 国内
type: select
proxies: [直连,默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择]
- name: 其他
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
#分隔,下面是地区分组
- name: 香港
type: url-test
use:
- ProviderAirPort
filter: "(?i)港|hk|hongkong|hong kong"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 台湾
type: url-test
use:
- ProviderAirPort
filter: "(?i)台|tw|taiwan"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 日本
type: url-test
use:
- ProviderAirPort
filter: "(?i)日本|jp|japan"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 美国
type: url-test
use:
- ProviderAirPort
filter: "(?i)美|us|unitedstates|united states"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 新加坡
type: url-test
use:
- ProviderAirPort
filter: "(?i)(新|sg|singapore)"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 全部节点
type: select
include-all: true
- name: 自动选择
type: url-test
include-all: true
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 10
rules:
- RULE-SET,private_ip,直连,no-resolve
- RULE-SET,github_domain,Github
- RULE-SET,twitter_domain,Twitter
- RULE-SET,youtube_domain,YouTube
- RULE-SET,google_domain,Google
- RULE-SET,telegram_domain,Telegram
- RULE-SET,cn_domain,国内
- RULE-SET,openai_domain,OpenAI
- RULE-SET,microsoft_domain,Microsoft
- RULE-SET,geolocation-!cn,其他
- RULE-SET,gfw_domain,其他
- RULE-SET,google_ip,Google
- RULE-SET,telegram_ip,Telegram
- RULE-SET,twitter_ip,Twitter
- RULE-SET,cn_ip,国内
- MATCH,其他
- GEOIP,lan,直连,no-resolve
- GEOSITE,github,Github
- GEOSITE,twitter,Twitter
- GEOSITE,youtube,YouTube
- GEOSITE,google,Google
- GEOSITE,telegram,Telegram
- GEOSITE,CN,国内
- GEOSITE,geolocation-!cn,其他
- GEOIP,google,Google
- GEOIP,telegram,Telegram
- GEOIP,twitter,Twitter
- GEOIP,CN,国内
rule-anchor:
ip: &ip {type: http, interval: 86400, behavior: ipcidr, format: text}
domain: &domain {type: http, interval: 86400, behavior: domain, format: text}
rule-providers:
private_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.list"
cn_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.list"
github_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/github.list"
twitter_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/twitter.list"
youtube_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/youtube.list"
google_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.list"
telegram_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/telegram.list"
openai_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/openai.list"
microsoft_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/microsoft.list"
geolocation-!cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.list"
gfw_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/gfw.list"
private_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/private.list"
cn_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.list"
google_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/google.list"
netflix_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/netflix.list"
twitter_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/twitter.list"
telegram_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.list"
移动端:
# url 里填写自己的订阅,名称不能重复
proxy-providers:
ProviderAirPort:
url: ""
type: http
interval: 86400
health-check: {enable: true,url: "http://www.apple.com/library/test/success.html",interval: 300}
# override:
# additional-prefix: "[ProviderAirPort]"
proxies:
- name: "直连"
type: direct
mixed-port: 7890
ipv6: false
allow-lan: true
unified-delay: false
tcp-concurrent: true
external-controller: 127.0.0.1:9090
external-ui: ui
external-ui-url: "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip"
keep-alive-interval: 1800
geodata-mode: true
geodata-loader: standard
geo-auto-update: false
geo-update-interval: 24
geox-url:
geoip: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat"
geosite: "https://mirror.ghproxy.com/https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
mmdb: "https://cdn.jsdelivr.net/gh/soffchen/GeoIP2-CN@release/Country.mmdb"
asn: "https://mirror.ghproxy.com/https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb"
find-process-mode: strict
global-client-fingerprint: chrome
profile:
store-selected: true
store-fake-ip: true
sniffer:
enable: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
skip-domain:
- "Mijia Cloud"
- "+.push.apple.com"
tun:
enable: true
stack: mixed
dns-hijack:
- "any:53"
- "tcp://any:53"
auto-route: true
auto-redirect: true
auto-detect-interface: true
dns:
enable: true
ipv6: false
respect-rules: true
enhanced-mode: fake-ip
fake-ip-filter:
- "*"
- "+.lan"
- "+.local"
- "+.market.xiaomi.com"
nameserver:
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
proxy-server-nameserver:
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
nameserver-policy:
"rule-set:cn_domain,private_domain":
- https://120.53.53.53/dns-query
- https://223.5.5.5/dns-query
"rule-set:geolocation-!cn":
- "https://dns.cloudflare.com/dns-query"
- "https://dns.google/dns-query"
proxy-groups:
- name: 默认
type: select
proxies: [自动选择,香港,台湾,日本,新加坡,美国,全部节点,直连]
- name: Google
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: Telegram
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: Twitter
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: YouTube
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: Github
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: OpenAI
type: select
proxies: [默认,台湾,日本,新加坡,美国]
- name: Microsoft
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
- name: 国内
type: select
proxies: [直连,默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择]
- name: 其他
type: select
proxies: [默认,香港,台湾,日本,新加坡,美国,全部节点,自动选择,直连]
#分隔,下面是地区分组
- name: 香港
type: url-test
use:
- ProviderAirPort
filter: "(?i)港|hk|hongkong|hong kong"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 台湾
type: url-test
use:
- ProviderAirPort
filter: "(?i)台|tw|taiwan"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 日本
type: url-test
use:
- ProviderAirPort
filter: "(?i)日本|jp|japan"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 美国
type: url-test
use:
- ProviderAirPort
filter: "(?i)美|us|unitedstates|united states"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 新加坡
type: url-test
use:
- ProviderAirPort
filter: "(?i)(新|sg|singapore)"
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 50
#lazy: true
- name: 全部节点
type: select
include-all: true
- name: 自动选择
type: url-test
include-all: true
url: 'http://www.apple.com/library/test/success.html'
interval: 300
tolerance: 10
rules:
- RULE-SET,private_ip,直连,no-resolve
- RULE-SET,github_domain,Github
- RULE-SET,twitter_domain,Twitter
- RULE-SET,youtube_domain,YouTube
- RULE-SET,google_domain,Google
- RULE-SET,telegram_domain,Telegram
- RULE-SET,cn_domain,国内
- RULE-SET,openai_domain,OpenAI
- RULE-SET,microsoft_domain,Microsoft
- RULE-SET,geolocation-!cn,其他
- RULE-SET,gfw_domain,其他
- RULE-SET,google_ip,Google
- RULE-SET,telegram_ip,Telegram
- RULE-SET,twitter_ip,Twitter
- RULE-SET,cn_ip,国内
- MATCH,其他
- GEOIP,google,Google
- GEOIP,telegram,Telegram
- GEOIP,twitter,Twitter
- GEOIP,CN,国内
rule-anchor:
ip: &ip {type: http, interval: 86400, behavior: ipcidr, format: text}
domain: &domain {type: http, interval: 86400, behavior: domain, format: text}
rule-providers:
private_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/private.list"
cn_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.list"
github_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/github.list"
twitter_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/twitter.list"
youtube_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/youtube.list"
google_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.list"
telegram_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/telegram.list"
openai_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/openai.list"
microsoft_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/microsoft.list"
geolocation-!cn:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.list"
gfw_domain:
<<: *domain
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/gfw.list"
private_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/private.list"
cn_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.list"
google_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/google.list"
netflix_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/netflix.list"
twitter_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/twitter.list"
telegram_ip:
<<: *ip
url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.list"
延迟不代表什么,软件和软件还是有区别的,甄别甄别!!!