aboutsummaryrefslogtreecommitdiff
path: root/store/config/mihomo/config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'store/config/mihomo/config.yaml')
-rw-r--r--store/config/mihomo/config.yaml85
1 files changed, 45 insertions, 40 deletions
diff --git a/store/config/mihomo/config.yaml b/store/config/mihomo/config.yaml
index cd2c3a3..c455409 100644
--- a/store/config/mihomo/config.yaml
+++ b/store/config/mihomo/config.yaml
@@ -26,56 +26,61 @@ dns:
ipv6: true
default-nameserver:
- 223.5.5.5
+ - 119.29.29.29
nameserver:
+# - 9.9.9.11
+# - tls://1.1.1.1
+ - https://doh.pub/dns-query
- https://dns.alidns.com/dns-query
- 223.5.5.5
- - 8.8.8.8
- - 1.1.1.1
+ - 119.29.29.29
+
+sniffer:
+ enable: true
+ sniff:
+ HTTP:
+ ports: [80]
+ TLS:
+ ports: [443]
+ QUIC:
+ ports: [443]
+ skip-domain:
+ - "Mijia Cloud"
+
+rule-providers:
+ cn:
+ type: file
+ path: has-rule
+ behavior: classical
+ format: text
+
+ non-cn:
+ type: file
+ path: not-has-rule
+ behavior: classical
+ format: text
+
+ need:
+ type: file
+ path: need-rule
+ behavior: classical
+ format: text
rules:
- - GEOSITE,github,node-select
- - GEOSITE,google,node-select
- - GEOSITE,youtube,node-select
- - GEOSITE,twitter,node-select
- - GEOSITE,facebook,node-select
- - GEOSITE,discord,node-select
- - GEOSITE,reddit,node-select
- - GEOSITE,twitch,node-select
- - GEOSITE,quora,node-select
- - GEOSITE,telegram,node-select
- - GEOSITE,imgur,node-select
- - GEOSITE,stackexchange,node-select
- - GEOSITE,onedrive,node-select
- - GEOSITE,duckduckgo,node-select
- - GEOSITE,wikimedia,node-select
- - GEOSITE,gitbook,node-select
- - GEOSITE,gitlab,node-select
- - GEOSITE,creativecommons,node-select
- - GEOSITE,archive,node-select
- - GEOSITE,matrix,node-select
- - GEOSITE,tor,node-select
- - GEOSITE,python,node-select
- - GEOSITE,ruby,node-select
- - GEOSITE,rust,node-select
- - GEOSITE,nodejs,node-select
- - GEOSITE,npmjs,node-select
- - GEOSITE,qt,node-select
- - GEOSITE,docker,node-select
- - GEOSITE,v2ray,node-select
- - GEOSITE,homebrew,node-select
- - GEOSITE,bootstrap,node-select
- - GEOSITE,heroku,node-select
- - GEOSITE,vercel,node-select
- - GEOSITE,ieee,node-select
- - GEOSITE,sci-hub,node-select
- - GEOSITE,libgen,node-select
+ - RULE-SET,cn,DIRECT
+ - RULE-SET,non-cn,node-select
+ - RULE-SET,need,node-select
+# - NOT,((GEOIP,CN)),node-select
- DOMAIN-SUFFIX,gnu.org,node-select
- DOMAIN-SUFFIX,nongnu.org,node-select
- DOMAIN-SUFFIX,ietf.org,node-select
- - DOMAIN-SUFFIX,packagist.org,node-select
- DOMAIN-SUFFIX,metacubex.one,node-select
- DOMAIN-SUFFIX,winehq.org,node-select
- - DOMAIN-SUFFIX,postfix.org,node-select
+ - DOMAIN-SUFFIX,freedesktop.org,node-select
+ - DOMAIN-SUFFIX,eff.org,node-select
+ - DOMAIN-SUFFIX,typescriptlang.org,node-select
+ - DOMAIN-SUFFIX,arxiv.org,node-select
+# - MATCH,node-select
- MATCH,DIRECT
proxy-groups: