Repository navigation
Expand file tree
/
Copy pathmihomo-linux.yaml
More file actions
157 lines (143 loc) · 3.88 KB
/
Copy pathmihomo-linux.yaml
File metadata and controls
157 lines (143 loc) · 3.88 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
proxy-providers:
🌈:
url: "订阅链接"
type: http
mode: rule
ipv6: true
allow-lan: true
log-level: error
bind-address: "*"
unified-delay: true
tcp-concurrent: true
find-process-mode: off
keep-alive-idle: 300
keep-alive-interval: 75
external-ui: ui
external-ui-name: zashboard
external-controller: 0.0.0.0:9090
external-ui-url: "https://gh-proxy.org/github.com/Zephyruso/zashboard/releases/download/v3.21.0/dist-no-fonts.zip"
profile:
store-selected: true
store-fake-ip: true
sniffer:
enable: true
force-dns-mapping: true
parse-pure-ip: true
sniff:
HTTP:
ports: [80, 8080-8880]
override-destination: true
TLS:
ports: [443, 8443]
QUIC:
ports: [443, 8443]
skip-domain:
- "Mijia Cloud"
- "+.push.apple.com"
tun:
enable: true
stack: mips
dns-hijack:
- "any:53"
- "tcp://any:53"
auto-route: true
strict-route: true
auto-redirect: true
auto-detect-interface: true
route-exclude-address-set: [cnip,pvip]
dns:
enable: true
ipv6: true
cache-algorithm: arc
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/15
fake-ip-range6: 3fff::/20
fake-ip-filter-mode: blacklist
fake-ip-filter:
- 'rule-set:cn'
- 'rule-set:me'
- 'rule-set:apple'
- 'rule-set:micro'
- 'rule-set:private'
nameserver-policy:
'rule-set:private': system
default-nameserver:
- 223.5.5.5
- 119.29.29.29
nameserver:
- https://dns.alidns.com/dns-query
- https://doh.pub/dns-query
proxy-groups:
- name: Proxy
type: select
include-all: true
proxies: [Urltest, Balance]
icon: https://gh-proxy.org/github.com/Orz-3/mini/raw/master/Color/SSID.png
- name: Urltest
type: url-test
url: http://www.gstatic.com/generate_204
interval: 300
tolerance: 50
include-all: true
icon: https://gh-proxy.org/github.com/Orz-3/mini/raw/master/Color/Urltest.png
- name: Balance
type: load-balance
url: http://www.gstatic.com/generate_204
interval: 300
strategy: sticky-sessions
include-all: true
icon: https://gh-proxy.org/github.com/Orz-3/mini/raw/master/Color/Roundrobin.png
- name: Final
type: select
proxies: [Proxy, DIRECT]
icon: https://gh-proxy.org/github.com/Orz-3/mini/raw/master/Color/Available.png
- name: GLOBAL
type: select
include-all: true
icon: https://gh-proxy.org/github.com/Orz-3/mini/raw/master/Color/Skicat.png
rules:
- DST-PORT,853,REJECT
- RULE-SET,private,DIRECT
- RULE-SET,adblock,REJECT
- RULE-SET,me,DIRECT
- RULE-SET,apple,DIRECT
- RULE-SET,micro,DIRECT
- RULE-SET,proxy,Proxy
- RULE-SET,cn,DIRECT
- RULE-SET,tgip,Proxy
- RULE-SET,cnip,DIRECT
- MATCH,Final
rule-anchor:
ip: &ip {type: http, interval: 86400, behavior: ipcidr, format: mrs}
domain: &domain {type: http, interval: 86400, behavior: domain, format: mrs}
rule-providers:
me:
<<: *domain
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/me.mrs"
cn:
<<: *domain
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/cn.mrs"
cnip:
<<: *ip
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/cnip.mrs"
pvip:
<<: *ip
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/pvip.mrs"
tgip:
<<: *ip
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/tgip.mrs"
micro:
<<: *domain
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/micro.mrs"
proxy:
<<: *domain
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/proxy.mrs"
apple:
<<: *domain
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/apple.mrs"
private:
<<: *domain
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/private.mrs"
adblock:
<<: *domain
url: "https://gh-proxy.org/github.com/77160860/rule/raw/main/mihomo/adblock.mrs"