-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClashConfig.yml
79 lines (74 loc) · 2.08 KB
/
ClashConfig.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
geodata-mode: true #【Meta专属】使用geoip.dat数据库(默认:false使用mmdb数据库)
tcp-concurrent: true #【Meta专属】TCP连接并发,如果域名解析结果对应多个IP,并发所有IP,选择握手最快的IP进行连接
profile:
store-selected: true # 存储 select 选择记录
# store-fake-ip: true # 持久化 fake-ip
geox-url:
geoip: "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geoip.dat"
geosite: "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/geosite.dat"
mmdb: "https://cdn.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@release/country.mmdb"
#sniffer:
# enable: true
# force-dns-mapping: true
# parse-pure-ip: true
# override-destination: false
# sniff:
# HTTP:
# ports: [80, 8080-8880]
# override-destination: true
# TLS:
# ports: [443, 8443]
# QUIC:
# ports: [443, 8443]
# force-domain:
# - +.v2ex.com
# skip-domain:
# - Mijia Cloud
dns:
enable: true
prefer-h3: false
listen: 0.0.0.0:1053
ipv6: true
default-nameserver:
- 223.5.5.5
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
fake-ip-filter:
- "+.lan"
- "+.local"
- localhost.ptlogin2.qq.com
nameserver-policy:
"geosite:category-ads-all": rcode://success
# "geosite:geolocation-!cn": [tls://8.8.4.4, https://1.0.0.1/dns-query]
# "geosite:private,apple": https://dns.alidns.com/dns-query
nameserver:
- dhcp://auto
- 192.168.31.1
- 223.5.5.5
- tls://dot.pub
- https://dns.alidns.com/dns-query
fallback:
- tls://dns.google
- https://1.0.0.1/dns-query
#proxy-server-nameserver:
# - https://doh.pub/dns-query
#fallback-filter:
# geoip: true
# geoip-code: CN
# geosite:
# - gfw
# ipcidr:
# - 240.0.0.0/4
# domain:
# - "+.google.com"
# - "+.facebook.com"
# - "+.youtube.com"
# rule-providers:
# 📥 下载工具:
# {
# type: http,
# behavior: classical,
# interval: 86400,
# path: ./rule-providers/Download.yaml,
# url: https://cdn.jsdelivr.net/gh/letterk/sub_rules@main/Download.yaml,
# }