Skip to content

Commit

Permalink
🥇 Update Clash Provider Config for CN
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdibland committed May 28, 2023
1 parent bf7ed5a commit 9f6cf15
Showing 1 changed file with 14 additions and 31 deletions.
45 changes: 14 additions & 31 deletions update/provider/provider-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,8 @@ dns:
- "https://9.9.9.9/dns-query"
- "https://rubyfish.cn/dns-query"
fallback-filter:
geoip: false
ipcidr:
- '0.0.0.0/8'
- '10.0.0.0/8'
- '100.64.0.0/10'
- '127.0.0.0/8'
- '169.254.0.0/16'
- '172.16.0.0/12'
- '192.0.0.0/24'
- '192.0.2.0/24'
- '192.88.99.0/24'
- '192.168.0.0/16'
- '198.18.0.0/15'
- '198.51.100.0/24'
- '203.0.113.0/24'
- '224.0.0.0/3'
- '240.0.0.0/4'
- '::1/128'
- '64:ff9b:1::/48'
- 'fc00::/7'
- 'fe80::/10'
geoip: true
geoip-code: CN

proxy-groups:

Expand All @@ -78,6 +59,8 @@ proxy-groups:
proxies:
- auto
- manual
- DIRECT
- REJECT

- name: manual
type: select
Expand All @@ -103,9 +86,9 @@ proxy-providers:
#enable: true
#interval: 3600
#lazy: true
#url: "http://cdn.jsdelivr.net"
##url: "http://cp.cloudflare.com"
##url: "http://detectportal.firefox.com/success.txt"
#url: "https://cdn.jsdelivr.net"
##url: "https://cp.cloudflare.com"
##url: "https://detectportal.firefox.com/success.txt"

airports:
type: http
Expand All @@ -116,9 +99,9 @@ proxy-providers:
enable: true
interval: 3600
lazy: true
url: "http://cdn.jsdelivr.net"
#url: "http://cp.cloudflare.com"
#url: "http://detectportal.firefox.com/success.txt"
url: "https://cdn.jsdelivr.net"
#url: "https://cp.cloudflare.com"
#url: "https://detectportal.firefox.com/success.txt"

aggregator:
type: http
Expand All @@ -129,12 +112,12 @@ proxy-providers:
enable: true
interval: 3600
lazy: true
url: "http://cdn.jsdelivr.net"
#url: "http://cp.cloudflare.com"
#url: "http://detectportal.firefox.com/success.txt"
url: "https://cdn.jsdelivr.net"
#url: "https://cp.cloudflare.com"
#url: "https://detectportal.firefox.com/success.txt"

rules:
- GEOIP,private,DIRECT,no-resolve ## Loopback and LAN IPs
- GEOIP,private,DIRECT ## Loopback and LAN IPs
- GEOIP,CN,DIRECT ## Check "provider.yml" for Iran's config.
- DOMAIN,yacd.haishan.me,DIRECT ## Yet Another Clash Dashboard
- MATCH,global

0 comments on commit 9f6cf15

Please sign in to comment.