Skip to content

Commit

Permalink
🥇 Update Clash Meta Provider Config for CN
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdibland authored May 28, 2023
1 parent b8542d2 commit bf7ed5a
Showing 1 changed file with 17 additions and 37 deletions.
54 changes: 17 additions & 37 deletions update/provider/provider-meta-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@
mixed-port: 7890
allow-lan: true
tcp-concurrent: true
enable-process: true
find-process-mode: always
global-client-fingerprint: chrome
global-client-fingerprint: random
geodata-mode: true
geox-url:
geoip: "https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/geoip.dat"
geosite: "https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/geosite.dat"
mmdb: "https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/Country.mmdb"
mode: rule
log-level: error ## silent/error/warning/info/debug
ipv6: true
Expand Down Expand Up @@ -63,27 +58,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 @@ -92,6 +68,8 @@ proxy-groups:
proxies:
- auto
- manual
- DIRECT
- REJECT

- name: manual
type: select
Expand All @@ -117,9 +95,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 @@ -130,22 +108,23 @@ 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
url: "https://cdn.jsdelivr.net/gh/mahdibland/V2RayAggregator@master/sub/sub_merge_yaml.yml"
#url: "https://cdn.jsdelivr.net/gh/Bardiafa/Free-V2ray-Config@main/All_Configs_Sub.txt"
interval: 86400
path: ./providers/aggregator.yaml
health-check:
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"

rule-providers:
applications:
Expand All @@ -158,9 +137,10 @@ rule-providers:
rules:
- GEOSITE,category-ads-all,REJECT ## Rejects advertisements.
- GEOSITE,win-spy,REJECT ## Rejects MS Windows analytics and spying.
- GEOIP,private,DIRECT,no-resolve ## Loopback and LAN IPs
- GEOIP,CN,DIRECT ## Check "provider-meta.yml" for Iran's config.
- GEOSITE,cn,DIRECT ## Check "provider-meta.yml" for Iran's config.
- GEOSITE,category-games,DIRECT ## Online gaming
- GEOIP,private,DIRECT ## Loopback and LAN IPs
- RULE-SET,applications,DIRECT ## P2P software e.g. BitTorrent.
- DOMAIN,yacd.metacubex.one,DIRECT ## Yet Another Clash Dashbord for Clash.Meta
- DOMAIN,clash.metacubex.one,DIRECT ## Razord
Expand Down

0 comments on commit bf7ed5a

Please sign in to comment.