Last active
April 16, 2024 08:50
-
-
Save yanyongyu/368f560b33ed9bd54502086e74be1f06 to your computer and use it in GitHub Desktop.
Clash Profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mode: rule | |
log-level: info | |
mixed-port: 7890 | |
allow-lan: false | |
external-controller: :9090 | |
proxy-providers: | |
CNIX: | |
type: http | |
path: ./proxy_providers/CNIX.yml | |
url: xxx | |
interval: 86400 | |
health-check: | |
enable: false | |
url: http://www.gstatic.com/generate_204 | |
interval: 3600 | |
proxy-groups: | |
- name: 🚧 模式切换 | |
type: select | |
proxies: | |
- 🚀 节点选择 | |
- DIRECT | |
_index: 0 | |
- name: 🚀 节点选择 | |
type: select | |
use: | |
- CNIX | |
- name: 🎯 全球直连 | |
type: select | |
proxies: | |
- DIRECT | |
- 🚧 模式切换 | |
- name: 🛑 全球拦截 | |
type: select | |
proxies: | |
- REJECT | |
- DIRECT | |
- 🚧 模式切换 | |
- name: 🐟 漏网之鱼 | |
type: select | |
proxies: | |
- 🚧 模式切换 | |
- DIRECT | |
rule-providers: | |
direct: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt" | |
path: ./ruleset/direct.yaml | |
interval: 86400 | |
proxy: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt" | |
path: ./ruleset/proxy.yaml | |
interval: 86400 | |
reject: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/reject.txt" | |
path: ./ruleset/reject.yaml | |
interval: 86400 | |
icloud: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt" | |
path: ./ruleset/icloud.yaml | |
interval: 86400 | |
apple: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt" | |
path: ./ruleset/apple.yaml | |
interval: 86400 | |
google: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt" | |
path: ./ruleset/google.yaml | |
interval: 86400 | |
private: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt" | |
path: ./ruleset/private.yaml | |
interval: 86400 | |
gfw: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt" | |
path: ./ruleset/gfw.yaml | |
interval: 86400 | |
tld-not-cn: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt" | |
path: ./ruleset/tld-not-cn.yaml | |
interval: 86400 | |
telegramcidr: | |
type: http | |
behavior: ipcidr | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/telegramcidr.txt" | |
path: ./ruleset/telegramcidr.yaml | |
interval: 86400 | |
cncidr: | |
type: http | |
behavior: ipcidr | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt" | |
path: ./ruleset/cncidr.yaml | |
interval: 86400 | |
lancidr: | |
type: http | |
behavior: ipcidr | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt" | |
path: ./ruleset/lancidr.yaml | |
interval: 86400 | |
applications: | |
type: http | |
behavior: classical | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt" | |
path: ./ruleset/applications.yaml | |
interval: 86400 | |
rules: | |
# DIRECT | |
- DOMAIN,clash.razord.top,🎯 全球直连 | |
- DOMAIN,yacd.haishan.me,🎯 全球直连 | |
# PROXY | |
- DOMAIN,services.googleapis.cn,🚧 模式切换 # Google Play Store | |
# DEFAULT | |
- RULE-SET,applications,🎯 全球直连 | |
- RULE-SET,private,🎯 全球直连 | |
- RULE-SET,reject,🛑 全球拦截 | |
- RULE-SET,icloud,🎯 全球直连 | |
- RULE-SET,apple,🎯 全球直连 | |
- RULE-SET,google,🎯 全球直连 | |
- RULE-SET,proxy,🚧 模式切换 | |
- RULE-SET,direct,🎯 全球直连 | |
- RULE-SET,lancidr,🎯 全球直连 | |
- RULE-SET,cncidr,🎯 全球直连 | |
- RULE-SET,telegramcidr,🚧 模式切换 | |
- GEOIP,LAN,🎯 全球直连 | |
- GEOIP,CN,🎯 全球直连 | |
- MATCH,🐟 漏网之鱼 | |
dns: | |
enable: true | |
listen: 0.0.0.0:1053 | |
use-hosts: true | |
enhanced-mode: fake-ip | |
default-nameserver: | |
- 223.6.6.6 | |
- 8.8.8.8 | |
- 1.1.1.1 | |
nameserver: | |
- https://dns.adguard-dns.com/dns-query | |
- https://doh.pub/dns-query | |
- https://dns.alidns.com/dns-query | |
fallback: | |
- tls://8.8.4.4 | |
- tls://1.1.1.1 | |
fallback-filter: | |
geoip: true | |
geoip-code: CN | |
geosite: | |
- gfw | |
ipcidr: | |
- 240.0.0.0/4 | |
domain: | |
- '+.google.com' | |
- '+.facebook.com' | |
- '+.youtube.com' | |
fake-ip-range: 198.18.0.1/16 | |
fake-ip-filter: | |
- "*.lan" | |
- "*.linksys.com" | |
- "*.linksyssmartwifi.com" | |
- swscan.apple.com | |
- mesu.apple.com | |
- "*.msftconnecttest.com" | |
- "*.msftncsi.com" | |
- time.*.com | |
- time.*.gov | |
- time.*.edu.cn | |
- time.*.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 | |
- +.srv.nintendo.net | |
- +.stun.playstation.net | |
- xbox.*.microsoft.com | |
- +.xboxlive.com | |
- localhost.ptlogin2.qq.com | |
- +.stun.*.* | |
- +.stun.*.*.* | |
- +.stun.*.*.*.* | |
- +.stun.*.*.*.*.* | |
- WORKGROUP | |
- controlplane.tailscale.com | |
- log.tailscale.i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment