Last active
June 28, 2024 01:56
-
-
Save lyc8503/ec737da6abe9aeae9c6a1e495753afe4 to your computer and use it in GitHub Desktop.
~~自用的 clash 分流.~~ 现在是 Clash Meta 啦, 简洁优雅++
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 | |
ipv6: true | |
log-level: info | |
allow-lan: false | |
mixed-port: 7890 | |
unified-delay: false | |
tcp-concurrent: true | |
external-controller: 127.0.0.1:9091 | |
external-ui: ui | |
secret: "" | |
geodata-mode: true | |
geox-url: | |
geoip: "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat" | |
geosite: "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat" | |
mmdb: "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb" | |
find-process-mode: strict | |
global-client-fingerprint: chrome | |
profile: | |
store-selected: true | |
sniffer: | |
enable: true | |
sniff: | |
TLS: | |
ports: [443, 8443] | |
HTTP: | |
ports: [80, 8080-8880] | |
override-destination: true | |
dns: | |
enable: true | |
listen: :53 | |
ipv6: true | |
enhanced-mode: redir-host | |
nameserver: | |
- tls://8.8.4.4#RawProxy | |
- https://1.0.0.1/dns-query#RawProxy | |
proxy-server-nameserver: | |
- tls://223.5.5.5 | |
nameserver-policy: | |
"geosite:cn": [tls://119.29.29.29, tls://223.5.5.5] | |
proxy-providers: | |
provider: | |
type: http | |
interval: 3600 | |
health-check: {enable: true, url: https://www.gstatic.com/generate_204, interval: 300} | |
url: "" | |
path: ./proxy_providers/provider.yaml | |
proxies: | |
- name: "WARP" | |
type: wireguard | |
server: engage.cloudflareclient.com | |
port: 2408 | |
ip: "172.16.0.2/32" | |
ipv6: "" | |
private-key: "" | |
public-key: "" | |
udp: true | |
reserved: "" | |
mtu: 1280 | |
dialer-proxy: "RawProxy" | |
remote-dns-resolve: | |
- name: "WARP-plus" | |
type: wireguard | |
server: engage.cloudflareclient.com | |
port: 2408 | |
ip: "172.16.0.2/32" | |
ipv6: "" | |
private-key: "" | |
public-key: "" | |
udp: true | |
reserved: [] | |
mtu: 1280 | |
dialer-proxy: "RawProxy" | |
remote-dns-resolve: false | |
use: &use | |
type: url-test | |
url: 'https://www.gstatic.com/generate_204' | |
interval: 300 | |
tolerance: 50 | |
use: | |
- provider | |
proxy-groups: | |
- {name: 香港, <<: *use,filter: "(?i)港|hk|hongkong|hong kong"} | |
- {name: 日本, <<: *use, filter: "(?i)日本|jp|japan"} | |
- {name: 美国, <<: *use, filter: "(?i)美|us|unitedstates|united states"} | |
- {name: 新加坡, <<: *use, filter: "(?i)(新|sg|singapore|狮)"} | |
- {name: 其它地区, <<: *use, filter: "(?i)^(?!.*(?:🇭🇰|🇯🇵|🇺🇸|🇸🇬|🇨🇳|港|hk|hongkong|日|jp|japan|新|sg|singapore|美|us|unitedstates)).*"} | |
- {name: 自动选择, <<: *use} | |
- name: 节点选择 | |
type: select | |
use: | |
- provider | |
- {name: RawProxy, type: select, proxies: [香港,日本,新加坡,美国,其它地区,节点选择,自动选择]} | |
- {name: CN, type: select, proxies: [DIRECT, RawProxy, WARP, WARP-plus]} | |
- {name: Proxy, type: select, proxies: [DIRECT, RawProxy, WARP, WARP-plus]} | |
- {name: Other, type: select, proxies: [DIRECT, RawProxy, WARP, WARP-plus]} | |
- {name: WinExtra, type: select, proxies: [DIRECT, REJECT]} | |
- {name: WinUpdate, type: select, proxies: [DIRECT, REJECT]} | |
rules: | |
- GEOSITE,win-spy,REJECT | |
- GEOSITE,win-update,WinUpdate | |
- GEOSITE,win-extra,WinExtra | |
- GEOSITE,gfw,Proxy | |
- GEOSITE,CN,CN | |
- GEOIP,private,DIRECT | |
- GEOIP,CN,CN | |
- MATCH,Other |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment