上传文件至 /
This commit is contained in:
@@ -0,0 +1,208 @@
|
||||
###提要&配置文件默认开启ipv6
|
||||
# 1.本配置文件无需要额外修改clash系应用内的dns设置,粘贴订阅后直接使用即可。
|
||||
# 2.订阅转换推荐使用sub-store或国际橘子快跑这类,订阅末尾可添加免流参数的机场。
|
||||
# 3.策略组分流其他问题请根据自己需求修改。
|
||||
# 4.官方教程虚空终端: https://wiki.metacubex.one
|
||||
###Clash系专属免流毕业配置,无法导入请连接除hk的节点。
|
||||
##关于b站直播乱跳问题
|
||||
# 请使用特殊版本b站关闭pcdn加载。
|
||||
# 其他应用直播请自行测试。
|
||||
#########
|
||||
mixed-port: 10801
|
||||
allow-lan: true
|
||||
unified-delay: true
|
||||
ipv6: true
|
||||
tcp-concurrent: true
|
||||
find-process-mode: strict
|
||||
global-client-fingerprint: random
|
||||
external-controller: 127.0.0.1:9090
|
||||
|
||||
geodata-mode: true
|
||||
geo-auto-update: true
|
||||
geo-update-interval: 24
|
||||
geox-url:
|
||||
geoip: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip.dat"
|
||||
geosite: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat"
|
||||
mmdb: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country.mmdb"
|
||||
asn: "https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb"
|
||||
|
||||
sniffer:
|
||||
enable: false
|
||||
|
||||
profile:
|
||||
store-selected: true
|
||||
store-fake-ip: true
|
||||
|
||||
tun:
|
||||
enable: true
|
||||
stack: mixed
|
||||
dns-hijack:
|
||||
- any:53
|
||||
- tcp://any:53
|
||||
auto-route: true
|
||||
auto-redirect: true
|
||||
auto-detect-interface: true
|
||||
|
||||
dns:
|
||||
enable: true
|
||||
prefer-h3: true
|
||||
ipv6: true
|
||||
respect-rules: true
|
||||
enhanced-mode: fake-ip
|
||||
fake-ip-range: 198.18.0.1/16
|
||||
fake-ip-filter:
|
||||
- "+.lan"
|
||||
- "+.local"
|
||||
default-nameserver:
|
||||
- 180.184.1.1
|
||||
- 180.76.76.76
|
||||
nameserver:
|
||||
- https://doh.pub/dns-query
|
||||
- https://dns.alidns.com/dns-query
|
||||
proxy-server-nameserver:
|
||||
- 180.184.1.1
|
||||
- 180.76.76.76
|
||||
|
||||
# 锚点↓
|
||||
# 百度钉钉配置(概率不免,自测)
|
||||
baidu: &baidu {type: http,port: 443,skip-cert-verify: true,headers: {Host: hnqywd.ha.189.cn,X-T5-Auth: 234276684,Connection: Keep-Alive,User-Agent: baiduboxapp}}
|
||||
|
||||
# 百度配置,自行更换
|
||||
# headers: {Host: pushbos.baidu.com,X-T5-Auth: 1109293052,Connection: Keep-Alive,User-Agent: baiduboxapp}}
|
||||
|
||||
# 百度代理锚点
|
||||
prov: &prov {proxies: [江苏①|Baidu,江苏②|Baidu,河北①|Baidu,河北②|Baidu,Baidu①|Auto,Baidu②|Auto]}
|
||||
|
||||
# 机场测速及其他
|
||||
pr: &pr {type: http,header: {User-Agent: ["ClashMeta/v2.10.2"]}, health-check: {enable: true, url: "http://www.qualcomm.cn/generate_204", interval: 600, lazy: true},override: {tfo: true,mptcp: true,udp: true,skip-cert-verify: true},exclude-filter: 官网|套餐|剩余|禁|群|区|以}
|
||||
|
||||
# 订阅集锚点
|
||||
use: &use {use: [国际机场,橘子机场,快跑云]}
|
||||
|
||||
# 预置代理组
|
||||
glal: &glal {type: select,proxies: [国外代理,国内代理,国内UDP,谷歌分流,推特分流,电报分流,国外自动,自动选择,负载均衡,百度自动,百度均衡,江苏,浙江,湖北,山东,香港,台湾,新加坡,韩国,日本,美国,REJECT,DIRECT]}
|
||||
|
||||
# 国内策略组锚点
|
||||
prox: &prox {type: select,proxies: [自动选择,负载均衡,百度自动,百度均衡,江苏,浙江,湖北,山东,REJECT,DIRECT]}
|
||||
|
||||
# 国外策略组锚点
|
||||
poxy: &poxy {type: select,proxies: [国外自动,香港,台湾,新加坡,韩国,日本,美国,REJECT,DIRECT]}
|
||||
|
||||
# 策略组锚点
|
||||
auto: &auto {type: url-test,hidden: true,<<: *use}
|
||||
|
||||
load: &load {type: load-balance,hidden: true,<<: *use}
|
||||
|
||||
# 锚点完↑
|
||||
|
||||
proxies:
|
||||
- {name: 江苏①|Baidu,server: 153.3.237.117,<<: *baidu}
|
||||
|
||||
- {name: 江苏②|Baidu,server: 157.0.146.158,<<: *baidu}
|
||||
|
||||
- {name: 河北①|Baidu,server: 110.242.70.68,<<: *baidu}
|
||||
|
||||
- {name: 河北②|Baidu,server: 110.242.70.69,<<: *baidu}
|
||||
|
||||
- {name: Baidu①|Auto,server: cloudnproxy.baidu.com,<<: *baidu}
|
||||
|
||||
- {name: Baidu②|Auto,server: cloudnproxy.n.shifen.com,<<: *baidu}
|
||||
|
||||
# 电信自行更换ip
|
||||
# 江苏:180.101.50.208,180.101.50.249
|
||||
# 北京:220.181.111.189,220.181.33.174,220.181.7.1
|
||||
# 广东:14.215.182.75
|
||||
|
||||
# 订阅集配置
|
||||
proxy-providers:
|
||||
# 以下机场均可在订阅末尾添加免流参数,添加方法: “订阅&host=你的混淆”
|
||||
# 国际机场: https://wget.moe#/register?code=gCq0GoRt
|
||||
# 橘子机场: https://citruslab.me/register?aff=7B1Fr8lt
|
||||
# 快跑机场: https://no1.mlhnb.top/#/register?code=VdfYa1Ej
|
||||
|
||||
国际机场:
|
||||
type: http
|
||||
url: "删除此处中文粘贴机场订阅"
|
||||
path: ./国际.yaml
|
||||
<<: *pr
|
||||
|
||||
橘子机场:
|
||||
type: http
|
||||
url: "删除此处中文粘贴机场订阅"
|
||||
path: ./橘子.yaml
|
||||
<<: *pr
|
||||
|
||||
快跑云:
|
||||
type: http
|
||||
url: "删除此处中文粘贴机场订阅"
|
||||
path: ./快跑.yaml
|
||||
<<: *pr
|
||||
|
||||
proxy-groups:
|
||||
- {name: GLOBAL,<<: *glal,icon: "https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Global.png"}
|
||||
|
||||
- {name: 国外代理,<<: *poxy,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Proxy.png'}
|
||||
|
||||
- {name: 国内代理,<<: *prox,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Domestic.png'}
|
||||
|
||||
- {name: 国内UDP,exclude-filter: 百度自动|百度均衡,<<: *prox,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/China.png'}
|
||||
|
||||
- {name: 谷歌分流,exclude-filter: REJECT|DIRECT,<<: *poxy,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Google.png'}
|
||||
|
||||
- {name: 推特分流,exclude-filter: REJECT|DIRECT,<<: *poxy,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Twitter.png'}
|
||||
|
||||
- {name: 电报分流,exclude-filter: REJECT|DIRECT,<<: *poxy,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Telegram.png'}
|
||||
|
||||
- {name: 国外自动,exclude-filter: CN|移动|联通|电信|香港|台湾|新加坡|韩国|日本|美国,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Auto.png'}
|
||||
|
||||
- {name: 自动选择,filter: CN|移动|联通|电信,exclude-filter: 江苏|徐州|宿迁|镇江,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Auto.png'}
|
||||
|
||||
- {name: 负载均衡,filter: CN|移动|联通|电信,<<: *load,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Round_Robin.png'}
|
||||
|
||||
- {name: 百度自动,type: url-test,<<: *prov,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Game.png'}
|
||||
|
||||
- {name: 百度均衡,type: load-balance,<<: *prov,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Baidu_Cloud.png'}
|
||||
|
||||
- {name: 江苏,filter: 江苏|徐州|宿迁|镇江,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/China_Map.png'}
|
||||
|
||||
- {name: 浙江,filter: 浙江|杭州,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/China_Map.png'}
|
||||
|
||||
- {name: 湖北,filter: 湖北|武汉,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/China_Map.png'}
|
||||
|
||||
- {name: 山东,filter: 山东|济南,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/China_Map.png'}
|
||||
|
||||
- {name: 香港,filter: 香港,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Hong_Kong.png'}
|
||||
|
||||
- {name: 台湾,filter: 台湾,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Taiwan.png'}
|
||||
|
||||
- {name: 新加坡,filter: 新加坡,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Singapore.png'}
|
||||
|
||||
- {name: 韩国,filter: 韩国,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Korea.png'}
|
||||
|
||||
- {name: 日本,filter: 日本,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Japan.png'}
|
||||
|
||||
- {name: 美国,filter: 美国,<<: *auto,icon: 'https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/United_States.png'}
|
||||
|
||||
rule-providers:
|
||||
Ads-Mihomo:
|
||||
type: http
|
||||
behavior: domain
|
||||
url: "https://raw.githubusercontent.com/privacy-protection-tools/anti-ad.github.io/master/docs/mihomo.mrs"
|
||||
path: ./mihomo.mrs
|
||||
format: mrs
|
||||
interval: 86400
|
||||
|
||||
sub-rules:
|
||||
sub-rule2:
|
||||
- AND,((NETWORK,TCP),(DST-PORT,80/8080/443/8443)),国内代理
|
||||
- OR,((NETWORK,TCP),(NETWORK,UDP)),国内UDP
|
||||
rules:
|
||||
- OR,((GEOSITE,CATEGORY-ADS-ALL),(RULE-SET,Ads-Mihomo)),REJECT
|
||||
- OR,((GEOSITE,HTTPDNS),(DOMAIN-KEYWORD,HTTPDNS)),REJECT
|
||||
- OR,((GEOIP,Google,no-resolve),(GEOSITE,Google)),谷歌分流
|
||||
- OR,((GEOIP,Twitter,no-resolve),(GEOSITE,Twitter)),推特分流
|
||||
- OR,((GEOIP,Telegram,no-resolve),(GEOSITE,Telegram)),电报分流
|
||||
- OR,((GEOIP,US,no-resolve),(GEOSITE,GEOLOCATION-!CN)),国外代理
|
||||
- SUB-RULE,(OR,((GEOIP,CN,no-resolve),(GEOSITE,CN))),sub-rule2
|
||||
- IP-CIDR,127.0.0.1/4,DIRECT,no-resolve
|
||||
- MATCH,GLOBAL
|
||||
Reference in New Issue
Block a user