clash配置

config.yaml

1. PC

  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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
# 混合代理端口
mixed-port: 1080

# 允许局域网的连接
allow-lan: true

# 绑定局域网ip
bind-address: "*"

# Clash 的 RESTful API
external-controller: "127.0.0.1:9090"

# RESTful API 的口令
secret: ""

# 规则模式:Rule(规则) / Global(全局代理)/ Direct(全局直连)
mode: Rule

# 设置日志输出级别 (默认级别:silent,即不输出任何内容,以避免因日志内容过大而导致程序内存溢出)。
# 5 个级别:silent / info / warning / error / debug。级别越高日志输出量越大,越倾向于调试,若需要请自行开启。
log-level: info

ipv6: false

# 您可以将静态网页资源(如 clash-dashboard)放置在一个目录中,clash 将会服务于 `${API}/ui`
# external-ui: folder

# host:
#     gist.github.com: 192.30.255.112
#     gist.githubusercontent.com: 151.101.56.133

dns:
    enable: true
    listen: 0.0.0.0:53
    # or redir-host
    enhanced-mode: fake-ip
    # fake ip 池
    fake-ip-range: 198.18.0.1/16
    use-hosts: true # lookup hosts and return IP record
    # fake ip 白名单
    fake-ip-filter:
        - "*.lan"
        - localhost
        - "gitee.com"
        - "github.com"
        - "gitlab.yewifi.com"
    # 用于解析nameserver中的域名
    default-nameserver:
        - 114.114.114.114
        - 8.8.8.8
    nameserver:
        - 119.29.29.29
        - 223.5.5.5
        - tls://dns.rubyfish.cn:853
    # 与 nameserver 内的服务器列表同时发起请求,当规则符合 GEOIP 在 CN 以外时,fallback 列表内的域名服务器生效。F
    fallback:
        - tls://13800000000.rubyfish.cn:853
        - tls://dot.pub:853
        - https://rubyfish.cn/dns-query
        - https://doh.pub/dns-query
    fallback-filter:
        geoip: true # 默认
        ipcidr: # 在这个网段内的 IP 地址会被考虑为被污染的 IP
            - 240.0.0.0/4

tun:
    enable: true
    stack: gvisor
    dns-hijack:
        - 198.18.0.2:53
    macOS-auto-route: true
    macOS-auto-detect-interface: true

# 代理节点
proxies:
    - name: "bwh-tcp-xtls"
      type: socks5
      server: hostname
      port: 33141
      # username: username
      # password: password
      # tls: true
      # skip-cert-verify: true
      udp: true

    - name: "bwh-tcp-tls"
      type: vmess
      server: hostname
      port: 443
      uuid: uuid
      alterId: 32
      cipher: auto
      udp: true
      tls: true

    - name: "bwh-tcp-ws"
      type: vmess
      server: hostname
      port: 443
      uuid: uuid
      alterId: 32
      cipher: auto
      udp: true
      tls: true
      skip-cert-verify: true
      servername: hostname # priority over wss host
      network: ws
      ws-path: /path
      ws-headers:
          Host: hostname

    - name: "网易云-n1"
      type: vmess
      server: hostname
      port: 33113
      uuid: uuid
      alterId: 64
      cipher: auto
      udp: true

    - name: "home-n1" # 直连n1
      type: vmess
      server: hostname
      port: 33111
      uuid: uuid
      alterId: 64
      cipher: auto
      udp: true

    - name: "home-k2" # 直连k2
      type: ss
      server: hostname
      port: 33211
      cipher: chacha20-ietf-poly1305
      password: "password"
      udp: true

# 代理组策略
proxy-groups:
    - name: "🏠回家"
      type: select
      proxies:
          - "home-n1"
          - "home-k2"

    - name: "⚡搬瓦工-延迟最低"
      # url-test使用延时最低的,fallback故障转移,select手动选择,
      type: url-test
      proxies:
          - bwh-tcp-xtls
          - bwh-tcp-tls
          - bwh-tcp-ws
      url: "http://www.gstatic.com/generate_204"
      interval: 300

    - name: "♻️搬瓦工-故障转移"
      # url-test使用延时最低的,fallback故障转移,select手动选择,
      type: fallback
      proxies:
          - bwh-tcp-xtls
          - bwh-tcp-tls
          - bwh-tcp-ws
      url: "http://www.gstatic.com/generate_204"
      interval: 300

    - name: "🔱搬瓦工-负载均衡"
      # url-test使用延时最低的,fallback故障转移,select手动选择,
      type: load-balance
      proxies:
          - bwh-tcp-xtls
          - bwh-tcp-tls
          - bwh-tcp-ws
      url: "http://www.gstatic.com/generate_204"
      interval: 300

    # 代理节点选择
    - name: "🚀代理"
      type: select
      proxies:
          - "⚡搬瓦工-延迟最低"
          - "♻️搬瓦工-故障转移"
          - "🔱搬瓦工-负载均衡"
          - "bwh-tcp-xtls"
          - "bwh-tcp-tls"
          - "bwh-tcp-ws"

    - name: "🎵网易云"
      type: select
      proxies:
          - "网易云-n1"
          - "DIRECT"

    - name: "🍪国内服务"
      type: select
      proxies:
          - "DIRECT"
          - "🏠回家"
          - "🚀代理"

    - name: "🔰国际服务"
      type: select
      proxies:
          - "🚀代理"
          - "DIRECT"
          - "🏠回家"

    - name: "🎥国际媒体"
      type: select
      proxies:
          - "🔰国际服务"
          - "🍪国内服务"

    - name: "📺国内媒体"
      type: select
      proxies:
          - "🍪国内服务"
          - "🔰国际服务"

      # 白名单模式 PROXY,黑名单模式 DIRECT
    - name: "🐟默认"
      type: select
      proxies:
          - "🍪国内服务"
          - "🔰国际服务"

rule-providers:
    # name: # Provider 名称
    #   type: http # http 或 file
    #   behavior: classical # 或 ipcidr、domain
    #   path: # 文件路径
    #   url: # 只有当类型为 HTTP 时才可用,您不需要在本地空间中创建新文件。
    #   interval: # 自动更新间隔,仅在类型为 HTTP 时可用
    Unbreak:
        type: http
        behavior: classical
        path: ./Rules/Unbreak.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/Unbreak.yaml
        interval: 86400
    Streaming:
        type: http
        behavior: classical
        path: ./Rules/Streaming.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/StreamingMedia/Streaming.yaml
        interval: 86400
    StreamingSE:
        type: http
        behavior: classical
        path: ./Rules/StreamingSE.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/StreamingMedia/StreamingSE.yaml
        interval: 86400
    Global:
        type: http
        behavior: classical
        path: ./Rules/Global.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/Global.yaml
        interval: 86400
    China:
        type: http
        behavior: classical
        path: ./Rules/China.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/China.yaml
        interval: 86400
    ChinaIP:
        type: http
        behavior: ipcidr
        path: ./Rules/ChinaIP.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/Extra/ChinaIP.yaml
        interval: 86400
    CustomGlobal:
        type: http
        behavior: classical
        path: ./Rules/CustomGlobal.yaml
        url: https://hostname.com/Rules/RuleCustomGlobal.yaml
        interval: 86400
    LocalAreaIP:
        type: http
        behavior: ipcidr
        path: ./Rules/LocalAreaIP.yaml
        url: https://hostname.com/Rules/RuleLocalAreaIP.yaml
        interval: 86400

# 规则
rules:
    # 网易云音乐APP
    - PROCESS-NAME,cloudmusic.exe,🎵网易云
    # 代理服务器
    - DOMAIN-SUFFIX,ilee.gq,DIRECT
    - DOMAIN-SUFFIX,ilee.ga,DIRECT
    - PROCESS-NAME,Clash.exe,DIRECT
    - PROCESS-NAME,xray.exe,DIRECT
    - PROCESS-NAME,wv2ray.exe,DIRECT
    - PROCESS-NAME,v2ray.exe,DIRECT
    # 自定义
    - RULE-SET,CustomGlobal,🔰国际服务
    # 通用
    - RULE-SET,Unbreak,🍪国内服务
    - RULE-SET,China,🍪国内服务
    - RULE-SET,Streaming,🎥国际媒体
    - RULE-SET,StreamingSE,🎥国际媒体
    - RULE-SET,Global,🔰国际服务

    ############## IP规则 ##################

    # 家庭局域网
    - IP-CIDR,192.168.2.0/24,🏠回家
    # Local Area Network
    - RULE-SET,LocalAreaIP,DIRECT
    # 使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.yaml 时可禁用下列直至(包括)「GEOIP,CN」规则
    - RULE-SET,ChinaIP,🍪国内服务
    # GeoIP China
    # - GEOIP,CN,DIRECT
    - MATCH,🐟默认

2. Android

  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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
# 混合代理端口
mixed-port: 1080

# 允许局域网的连接
allow-lan: true

# 绑定局域网ip
bind-address: "*"

# Clash 的 RESTful API
external-controller: "127.0.0.1:9090"

# RESTful API 的口令
secret: ""

# 规则模式:Rule(规则) / Global(全局代理)/ Direct(全局直连)
mode: Rule

# 设置日志输出级别 (默认级别:silent,即不输出任何内容,以避免因日志内容过大而导致程序内存溢出)。
# 5 个级别:silent / info / warning / error / debug。级别越高日志输出量越大,越倾向于调试,若需要请自行开启。
log-level: info

ipv6: false

# 您可以将静态网页资源(如 clash-dashboard)放置在一个目录中,clash 将会服务于 `${API}/ui`
# external-ui: folder

# host:
#     gist.github.com: 192.30.255.112
#     gist.githubusercontent.com: 151.101.56.133

dns:
    enable: true
    listen: 0.0.0.0:53
    # or redir-host
    enhanced-mode: fake-ip
    # fake ip 池
    fake-ip-range: 198.18.0.1/16
    use-hosts: true # lookup hosts and return IP record
    # fake ip 白名单
    fake-ip-filter:
        - "*.lan"
        - localhost
        - "gitee.com"
        - "github.com"
        - "gitlab.yewifi.com"
    # 用于解析nameserver中的域名
    default-nameserver:
        - 114.114.114.114
        - 8.8.8.8
    nameserver:
        - 119.29.29.29
        - 223.5.5.5
        - tls://dns.rubyfish.cn:853
    # 与 nameserver 内的服务器列表同时发起请求,当规则符合 GEOIP 在 CN 以外时,fallback 列表内的域名服务器生效。F
    fallback:
        - tls://13800000000.rubyfish.cn:853
        - tls://dot.pub:853
        - https://rubyfish.cn/dns-query
        - https://doh.pub/dns-query
    fallback-filter:
        geoip: true # 默认
        ipcidr: # 在这个网段内的 IP 地址会被考虑为被污染的 IP
            - 240.0.0.0/4

tun:
    enable: true
    stack: gvisor
    dns-hijack:
        - 198.18.0.2:53
    macOS-auto-route: true
    macOS-auto-detect-interface: true

# 代理节点
proxies:
    - name: "bwh-tcp-xtls"
      type: socks5
      server: hostname
      port: 33141
      # username: username
      # password: password
      # tls: true
      # skip-cert-verify: true
      udp: true

    - name: "bwh-tcp-tls"
      type: vmess
      server: hostname
      port: 443
      uuid: uuid
      alterId: 32
      cipher: auto
      udp: true
      tls: true

    - name: "bwh-tcp-ws"
      type: vmess
      server: hostname
      port: 443
      uuid: uuid
      alterId: 32
      cipher: auto
      udp: true
      tls: true
      skip-cert-verify: true
      servername: hostname # priority over wss host
      network: ws
      ws-path: /path
      ws-headers:
          Host: hostname

    - name: "网易云-n1"
      type: vmess
      server: hostname
      port: 33113
      uuid: uuid
      alterId: 64
      cipher: auto
      udp: true

    - name: "home-n1" # 直连n1
      type: vmess
      server: hostname
      port: 33111
      uuid: uuid
      alterId: 64
      cipher: auto
      udp: true

    - name: "home-k2" # 直连k2
      type: ss
      server: hostname
      port: 33211
      cipher: chacha20-ietf-poly1305
      password: "password"
      udp: true

# 代理组策略
proxy-groups:
    - name: "🏠回家"
      type: select
      proxies:
          - "home-n1"
          - "home-k2"

    - name: "⚡搬瓦工-延迟最低"
      # url-test使用延时最低的,fallback故障转移,select手动选择,
      type: url-test
      proxies:
          - bwh-tcp-xtls
          - bwh-tcp-tls
          - bwh-tcp-ws
      url: "http://www.gstatic.com/generate_204"
      interval: 300

    - name: "♻️搬瓦工-故障转移"
      # url-test使用延时最低的,fallback故障转移,select手动选择,
      type: fallback
      proxies:
          - bwh-tcp-xtls
          - bwh-tcp-tls
          - bwh-tcp-ws
      url: "http://www.gstatic.com/generate_204"
      interval: 300

    - name: "🔱搬瓦工-负载均衡"
      # url-test使用延时最低的,fallback故障转移,select手动选择,
      type: load-balance
      proxies:
          - bwh-tcp-xtls
          - bwh-tcp-tls
          - bwh-tcp-ws
      url: "http://www.gstatic.com/generate_204"
      interval: 300

    # 代理节点选择
    - name: "🚀代理"
      type: select
      proxies:
          - "⚡搬瓦工-延迟最低"
          - "♻️搬瓦工-故障转移"
          - "🔱搬瓦工-负载均衡"
          - "bwh-tcp-xtls"
          - "bwh-tcp-tls"
          - "bwh-tcp-ws"

    - name: "🎵网易云"
      type: select
      proxies:
          - "网易云-n1"
          - "DIRECT"

    - name: "🍪国内服务"
      type: select
      proxies:
          - "DIRECT"
          - "🏠回家"
          - "🚀代理"

    - name: "🔰国际服务"
      type: select
      proxies:
          - "🚀代理"
          - "DIRECT"
          - "🏠回家"

    - name: "🎥国际媒体"
      type: select
      proxies:
          - "🔰国际服务"
          - "🍪国内服务"

    - name: "📺国内媒体"
      type: select
      proxies:
          - "🍪国内服务"
          - "🔰国际服务"

      # 白名单模式 PROXY,黑名单模式 DIRECT
    - name: "🐟默认"
      type: select
      proxies:
          - "🍪国内服务"
          - "🔰国际服务"

rule-providers:
    # name: # Provider 名称
    #   type: http # http 或 file
    #   behavior: classical # 或 ipcidr、domain
    #   path: # 文件路径
    #   url: # 只有当类型为 HTTP 时才可用,您不需要在本地空间中创建新文件。
    #   interval: # 自动更新间隔,仅在类型为 HTTP 时可用
    Unbreak:
        type: http
        behavior: classical
        path: ./Rules/Unbreak.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/Unbreak.yaml
        interval: 86400
    Streaming:
        type: http
        behavior: classical
        path: ./Rules/Streaming.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/StreamingMedia/Streaming.yaml
        interval: 86400
    StreamingSE:
        type: http
        behavior: classical
        path: ./Rules/StreamingSE.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/StreamingMedia/StreamingSE.yaml
        interval: 86400
    Global:
        type: http
        behavior: classical
        path: ./Rules/Global.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/Global.yaml
        interval: 86400
    China:
        type: http
        behavior: classical
        path: ./Rules/China.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/China.yaml
        interval: 86400
    ChinaIP:
        type: http
        behavior: ipcidr
        path: ./Rules/ChinaIP.yaml
        url: https://cdn.jsdelivr.net/gh/DivineEngine/Profiles@master/Clash/RuleSet/Extra/ChinaIP.yaml
        interval: 86400
    CustomGlobal:
        type: http
        behavior: classical
        path: ./Rules/CustomGlobal.yaml
        url: https://hostname.com/Rules/RuleCustomGlobal.yaml
        interval: 86400
    LocalAreaIP:
        type: http
        behavior: ipcidr
        path: ./Rules/LocalAreaIP.yaml
        url: https://hostname.com/Rules/RuleLocalAreaIP.yaml
        interval: 86400
    NeteaseAndroid:
        type: http
        behavior: classical
        path: ./Rules/NeteaseAndroid.yaml
        url: https://hostname.com/Rules/RuleNeteaseAndroid.yaml
        interval: 86400

# 规则
rules:
    - PROCESS-NAME,com.netease.cloudmusic,🔰国际服务
    # 网易云音乐APP
    - RULE-SET,NeteaseAndroid,🎵网易云
    # 代理服务器
    - DOMAIN-SUFFIX,ilee.gq,DIRECT
    - DOMAIN-SUFFIX,ilee.ga,DIRECT
    - PROCESS-NAME,Clash.exe,DIRECT
    - PROCESS-NAME,xray.exe,DIRECT
    - PROCESS-NAME,wv2ray.exe,DIRECT
    - PROCESS-NAME,v2ray.exe,DIRECT
    # 自定义
    - RULE-SET,CustomGlobal,🔰国际服务
    # 通用
    - RULE-SET,Unbreak,🍪国内服务
    - RULE-SET,China,🍪国内服务
    - RULE-SET,Streaming,🎥国际媒体
    - RULE-SET,StreamingSE,🎥国际媒体
    - RULE-SET,Global,🔰国际服务

    ############## IP规则 ##################

    # 家庭局域网
    - IP-CIDR,192.168.2.0/24,🏠回家
    # Local Area Network
    - RULE-SET,LocalAreaIP,DIRECT
    # 使用来自 ipipdotnet 的 ChinaIP 以解决数据不准确的问题,使用 ChinaIP.yaml 时可禁用下列直至(包括)「GEOIP,CN」规则
    - RULE-SET,ChinaIP,🍪国内服务
    # GeoIP China
    # - GEOIP,CN,DIRECT
    - MATCH,🐟默认

Rules

1. RuleCustomGlobal.yaml

 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
payload:
    - DOMAIN-SUFFIX,example.com
    - DOMAIN-SUFFIX,yugogo.xyz
    - DOMAIN-SUFFIX,celsoazevedo.com
    - DOMAIN-SUFFIX,typora.io
    - DOMAIN-SUFFIX,chocolatey.org
    - DOMAIN-SUFFIX,yandex.com
    - DOMAIN-SUFFIX,github.io
    - DOMAIN-SUFFIX,vmware.com
    - DOMAIN-SUFFIX,v2fly.org
    - DOMAIN-SUFFIX,telegram.me
    - DOMAIN-SUFFIX,t.me
    - DOMAIN-SUFFIX,githubassets.com
    - DOMAIN-SUFFIX,v2ex.com
    - DOMAIN-SUFFIX,githubusercontent.com
    - DOMAIN-SUFFIX,apkpure.com
    - DOMAIN-SUFFIX,doubiyunbackup.com
    - DOMAIN-SUFFIX,repo.maven.apache.org
    - DOMAIN-SUFFIX,google.com
    - DOMAIN-SUFFIX,bitbucket.org
    - DOMAIN-SUFFIX,github.com
    - DOMAIN-SUFFIX,github-production-release-asset-2e65be.s3.amazonaws.com
    - DOMAIN-SUFFIX,homebrew.bintray.com
    - DOMAIN-SUFFIX,plugins.jetbrains.com
    - DOMAIN-SUFFIX,jetbrains.com
    - DOMAIN-SUFFIX,download.docker.com
    - DOMAIN-SUFFIX,s3.amazonaws.com
    - DOMAIN-SUFFIX,atlassian.com
    - DOMAIN-SUFFIX,downloads.vivaldi.com
    - DOMAIN-SUFFIX,panic.com
    - DOMAIN-SUFFIX,fatcatsoftware.com
    - DOMAIN-SUFFIX,freedownloadmanager.org
    - DOMAIN-SUFFIX,vo.msecnd.net
    - DOMAIN-SUFFIX,zeroturnaround.com
    - DOMAIN-SUFFIX,graphviz.org
    - DOMAIN-SUFFIX,dl.iina.io
    - DOMAIN-SUFFIX,softs.fun
    - DOMAIN-SUFFIX,wireshark.org
    - DOMAIN-SUFFIX,atom.io
    - DOMAIN-SUFFIX,maven.apache.org
    - DOMAIN-SUFFIX,233v2.com
    - DOMAIN-SUFFIX,sentry.io
    - DOMAIN-SUFFIX,nvidia.cn
    - DOMAIN-SUFFIX,inter.com
    - DOMAIN-SUFFIX,jetbrains.com
    - DOMAIN-SUFFIX,stackoverflow.com
    - DOMAIN-SUFFIX,freenom.com

2. RuleLocalAreaIP.yaml

1
2
3
4
5
6
payload:
    - "192.168.0.0/16"
    - "10.0.0.0/8"
    - "172.16.0.0/12"
    - "100.64.0.0/10"
    - "224.0.0.0/4"

3. RuleNeteaseAndroid.yaml

 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
payload:
    # 网易云音乐APP
    - PROCESS-NAME,com.netease.cloudmusic
    - DOMAIN-SUFFIX,music.126.net
    - DOMAIN-SUFFIX,music.163.com
    - DOMAIN-SUFFIX,netease.com
    - DOMAIN-SUFFIX,163yun.com
    - DOMAIN-SUFFIX,api.iplay.163.com
    - DOMAIN-SUFFIX,interface3.music.163.com.163jiasu.com
    - IP-CIDR,59.111.181.60/32,no-resolve
    - IP-CIDR,115.236.121.49/32,no-resolve 
    - IP-CIDR,59.111.210.184/32,no-resolve
    - IP-CIDR,39.105.63.80/32,no-resolve
    - IP-CIDR,39.105.175.128/32,no-resolve
    - IP-CIDR,45.254.48.1/32,no-resolve
    - IP-CIDR,47.100.127.239/32,no-resolve
    - IP-CIDR,59.111.160.195/32,no-resolve
    - IP-CIDR,59.111.160.197/32,no-resolve
    - IP-CIDR,59.111.181.35/32,no-resolve
    - IP-CIDR,59.111.181.38/32,no-resolve
    - IP-CIDR,59.111.238.29/32,no-resolve
    - IP-CIDR,59.111.21.14/31,no-resolve
    - IP-CIDR,59.111.179.214/32,no-resolve
    - IP-CIDR,59.111.181.155/32,no-resolve
    - IP-CIDR,59.111.128.0/17,no-resolve
    - IP-CIDR,101.71.154.241/32,no-resolve
    - IP-CIDR,103.126.92.132/32,no-resolve
    - IP-CIDR,103.126.92.133/32,no-resolve
    - IP-CIDR,112.13.119.17/32,no-resolve
    - IP-CIDR,112.13.119.18/32,no-resolve
    - IP-CIDR,112.13.122.1/32,no-resolve
    - IP-CIDR,112.13.122.4/32,no-resolve
    - IP-CIDR,115.236.118.33/32,no-resolve
    - IP-CIDR,115.236.121.1/32,no-resolve
    - IP-CIDR,115.236.112.0/20,no-resolve
    - IP-CIDR,118.24.63.156/32,no-resolve
    - IP-CIDR,182.92.170.253/32,no-resolve
    - IP-CIDR,193.112.159.225/32,no-resolve
    - IP-CIDR,223.252.199.66/32,no-resolve
    - IP-CIDR,223.252.199.67/32,no-resolve
    - IP-CIDR,223.252.192.0/19,no-resolve