Created
September 10, 2023 08:41
-
-
Save chenzilu1990/0eec97ee472d903c8f2267ed1d91a792 to your computer and use it in GitHub Desktop.
jinzi4
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
proxy-providers: | |
maying: | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/mayingaaa | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
xinjie: | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/4062636ec58c33e3447b814a6bd303c5abcb892f/xinjie-clash | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
# 基于地区 | |
maying-HK: | |
filter: "澳门|🇲🇴|港|🇭🇰|HK|(?i)Hong" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/mayingaaa | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
maying-TW: | |
filter: "台|🇹🇼|湾|TW|(?i)Taiwan" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/mayingaaa | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
maying-SG: | |
filter: "新加坡|坡|狮城|🇸🇬|SG|(?i)Singapore" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/mayingaaa | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
maying-JP: | |
filter: "日|🇯🇵|东京|JP|(?i)Japan" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/mayingaaa | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
maying-US: | |
filter: "美|🇺🇲|US|(?i)States|America" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/mayingaaa | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
xinjie-HK: | |
filter: "澳门|🇲🇴|港|🇭🇰|HK|(?i)Hong" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/4062636ec58c33e3447b814a6bd303c5abcb892f/xinjie-clash | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
xinjie-TW: | |
filter: "台|🇹🇼|湾|TW|(?i)Taiwan" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/4062636ec58c33e3447b814a6bd303c5abcb892f/xinjie-clash | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
xinjie-SG: | |
filter: "新加坡|坡|狮城|🇸🇬|SG|(?i)Singapore" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/4062636ec58c33e3447b814a6bd303c5abcb892f/xinjie-clash | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
xinjie-JP: | |
filter: "日|🇯🇵|东京|JP|(?i)Japan" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/4062636ec58c33e3447b814a6bd303c5abcb892f/xinjie-clash | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
xinjie-US: | |
filter: "美|🇺🇲|US|(?i)States|America" | |
url: https://gist.githubusercontent.com/chenzilu1990/09479219525be628edf5279c48d7124a/raw/4062636ec58c33e3447b814a6bd303c5abcb892f/xinjie-clash | |
interval: 86400 | |
type: http | |
health-check: | |
enable: true | |
interval: 600 | |
# lazy: true | |
url: http://www.gstatic.com/generate_204 | |
proxy-groups: | |
- name: 选择代理 | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Proxy.png | |
type: url-test | |
use: | |
- maying # reference to provider-a | |
- xinjie # reference to provider-a | |
- name: 选择代理2 | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Proxy.png | |
type: load-balance | |
strategy: consistent-hashing # / round-robin | |
use: | |
- maying # reference to provider-a | |
- xinjie # reference to provider-a | |
# 功能分组 | |
- name: 选择代理3 | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Proxy.png | |
type: select | |
proxies: &proxies | |
- 自动选择 | |
- 手动选择 | |
- HK 香港 | |
- TW 台湾 | |
- SG 新加坡 | |
- JP 日本 | |
- US 美国 | |
- DIRECT | |
- openAI | |
- name: Netflix | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Netflix.png | |
type: select | |
proxies: *proxies | |
- name: Disney+ | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Disney%2B.png | |
type: select | |
proxies: *proxies | |
- name: Spotify | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Spotify.png | |
type: select | |
proxies: *proxies | |
- name: YouTube | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/YouTube.png | |
type: select | |
proxies: *proxies | |
- name: Speedtest | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Speedtest.png | |
type: select | |
proxies: *proxies | |
- name: 默认 | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Final.png | |
type: select | |
proxies: | |
- 选择代理 | |
- DIRECT | |
# 基于地区分组 | |
- name: HK 香港 | |
filter: "澳门|🇲🇴|港|🇭🇰|HK|(?i)Hong" | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Hong_Kong.png | |
interval: 600 | |
lazy: true | |
tolerance: 50 | |
type: url-test | |
use: | |
- maying-HK # reference to provider-a | |
- xinjie-HK # reference to provider-a | |
- name: TW 台湾 | |
filter: "台|🇹🇼|湾|TW|(?i)Taiwan" | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Taiwan.png | |
interval: 600 | |
lazy: true | |
tolerance: 50 | |
type: url-test | |
use: | |
- maying-TW # reference to provider-a | |
- xinjie-TW # reference to provider-a | |
- name: SG 新加坡 | |
filter: "新加坡|坡|狮城|🇸🇬|SG|(?i)Singapore" | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Singapore.png | |
interval: 600 | |
lazy: true | |
tolerance: 50 | |
type: url-test | |
use: | |
- maying-SG # reference to provider-a | |
- xinjie-SG # reference to provider-a | |
- name: JP 日本 | |
filter: "日|🇯🇵|东京|JP|(?i)Japan" | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Japan.png | |
interval: 600 | |
lazy: true | |
tolerance: 50 | |
type: url-test | |
use: | |
- maying-JP # reference to provider-a | |
- xinjie-JP # reference to provider-a | |
- name: US 美国 | |
filter: "美|🇺🇲|US|(?i)States|America" | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/United_States.png | |
interval: 600 | |
lazy: true | |
tolerance: 50 | |
type: url-test | |
use: | |
- maying-US # reference to provider-a | |
- xinjie-US # reference to provider-a | |
- name: openAI | |
interval: 600 | |
lazy: true | |
tolerance: 50 | |
type: url-test | |
use: | |
- maying-US # reference to provider-a | |
- xinjie-US # reference to provider-a | |
- xinjie-TW # reference to provider-a | |
- name: 自动选择 | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Auto.png | |
interval: 600 | |
lazy: true | |
tolerance: 50 | |
type: url-test | |
use: | |
- maying # reference to provider-a | |
- xinjie # reference to provider-a | |
- name: 手动选择 | |
icon: https://fastly.jsdelivr.net/gh/Koolson/Qure/IconSet/Color/Static.png | |
interval: 600 | |
lazy: true | |
type: select | |
use: | |
- maying # reference to provider-a | |
- xinjie # reference to provider-a | |
rule-providers: | |
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 | |
proxy: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/proxy.txt" | |
path: ./ruleset/proxy.yaml | |
interval: 86400 | |
direct: | |
type: http | |
behavior: domain | |
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/direct.txt" | |
path: ./ruleset/direct.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: | |
- DOMAIN-SUFFIX,openai.com,openAI | |
- RULE-SET,applications,DIRECT | |
- DOMAIN,clash.razord.top,DIRECT | |
- DOMAIN,yacd.haishan.me,DIRECT | |
- RULE-SET,private,DIRECT | |
- RULE-SET,reject,REJECT | |
- RULE-SET,icloud,DIRECT | |
- RULE-SET,apple,DIRECT | |
- RULE-SET,google,DIRECT | |
- RULE-SET,proxy,选择代理 | |
- RULE-SET,direct,DIRECT | |
- RULE-SET,lancidr,DIRECT | |
- RULE-SET,cncidr,DIRECT | |
- RULE-SET,telegramcidr,选择代理 | |
- GEOIP,LAN,DIRECT | |
- GEOIP,CN,DIRECT | |
- SCRIPT,quic,REJECT | |
# Netflix | |
# - GEOSITE,netflix,Netflix | |
# Disney+ | |
# - GEOSITE,disney,Disney+ | |
# Spotify | |
# - GEOSITE,spotify,Spotify | |
# Speedtest | |
# - GEOSITE,speedtest,Speedtest | |
# GitHub | |
# - GEOSITE,github,选择代理 | |
# Telegram | |
# - IP-ASN,62014,选择代理,no-resolve | |
# - IP-ASN,59930,选择代理,no-resolve | |
# - IP-ASN,44907,选择代理,no-resolve | |
# - IP-ASN,211157,选择代理,no-resolve | |
- PROCESS-NAME,Telegram.exe,选择代理 | |
- PROCESS-NAME,Telegram,选择代理 | |
# - GEOSITE,telegram,选择代理 | |
# YouTube | |
# - GEOSITE,youtube,YouTube | |
# - GEOSITE,google,选择代理 | |
# - GEOSITE,twitter,选择代理 | |
- DOMAIN-SUFFIX,tapbots.com,选择代理 | |
# - GEOSITE,instagram,选择代理 | |
# - GEOSITE,facebook,选择代理 | |
# Steam | |
# - GEOSITE,steam@cn,DIRECT | |
# - GEOSITE,steam,选择代理 | |
# Apple LBS | |
- DOMAIN-SUFFIX,iphone-ld.apple.com,DIRECT | |
- DOMAIN-SUFFIX,lcdn-locator.apple.com,DIRECT | |
- DOMAIN-SUFFIX,lcdn-registration.apple.com,DIRECT | |
- DOMAIN-SUFFIX,push.apple.com,DIRECT | |
# Apple OCSP | |
- PROCESS-NAME,trustd,选择代理 | |
# Microsoft | |
# - GEOSITE,microsoft@cn,DIRECT | |
# - GEOSITE,microsoft,选择代理 | |
# - GEOSITE,xbox,选择代理 | |
# common proxy utils | |
- PROCESS-NAME,v2ray,DIRECT | |
- PROCESS-NAME,Surge,DIRECT | |
- PROCESS-NAME,ss-local,DIRECT | |
- PROCESS-NAME,privoxy,DIRECT | |
- PROCESS-NAME,trojan,DIRECT | |
- PROCESS-NAME,trojan-go,DIRECT | |
- PROCESS-NAME,naive,DIRECT | |
- PROCESS-NAME,CloudflareWARP,DIRECT | |
- PROCESS-NAME,Cloudflare WARP,DIRECT | |
- IP-CIDR,162.159.193.0/24,DIRECT,no-resolve | |
- PROCESS-NAME,p4pclient,DIRECT | |
- PROCESS-NAME,Thunder,DIRECT | |
- PROCESS-NAME,DownloadService,DIRECT | |
- PROCESS-NAME,qbittorrent,DIRECT | |
- PROCESS-NAME,Transmission,DIRECT | |
- PROCESS-NAME,fdm,DIRECT | |
- PROCESS-NAME,aria2c,DIRECT | |
- PROCESS-NAME,Folx,DIRECT | |
- PROCESS-NAME,NetTransport,DIRECT | |
- PROCESS-NAME,uTorrent,DIRECT | |
- PROCESS-NAME,WebTorrent,DIRECT | |
- GEOIP,LAN,DIRECT | |
- GEOIP,CN,DIRECT | |
- MATCH,默认 | |
script: | |
shortcuts: | |
quic: network == 'udp' and dst_port == 443 | |
dns: | |
default-nameserver: | |
- 114.114.115.115 | |
- 119.28.28.28 | |
- 223.6.6.6 | |
# - system | |
nameserver: | |
- https://dns.alidns.com/dns-query | |
- https://doh.pub/dns-query | |
log-level: warning | |
mode: rule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment