Clash 负载均衡

添加代码

https://gh.putdown.top/https://github.com/futalk/tuchuang/raw/main/img/image_ddc4f56e0f4f9c5d0a22377e8d3c7fe5.png

https://gh.putdown.top/https://github.com/futalk/tuchuang/raw/main/img/image_84b50324bcb3694f705f6a86795ded77.png

  • 点击把下方代码填入

https://gh.putdown.top/https://github.com/futalk/tuchuang/raw/main/img/image_c2fc52e39371bba46c72087e22a23d96.png

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parsers:
- reg: 'slbable$'
yaml:
append-proxy-groups:
- name: ⚖️ 负载均衡-散列
type: load-balance
url: 'http://www.google.com/generate_204'
interval: 300
strategy: consistent-hashing
- name: ⚖️ 负载均衡-轮询
type: load-balance
url: 'http://www.google.com/generate_204'
interval: 300
strategy: round-robin
commands:
- proxy-groups.⚖️ 负载均衡-散列.proxies=[]proxyNames
- proxy-groups.0.proxies.0+⚖️ 负载均衡-散列
- proxy-groups.⚖️ 负载均衡-轮询.proxies=[]proxyNames
- proxy-groups.0.proxies.0+⚖️ 负载均衡-轮询

  • 记得保存

修改代理

  • 订阅-右键-设置-url后面添加#slbable

https://gh.putdown.top/https://github.com/futalk/tuchuang/raw/main/img/image_d502a82e8af9fb31d3ee73d454aed316.png

结束

  • 更新一下订阅
  • 查看订阅列表

https://gh.putdown.top/https://github.com/futalk/tuchuang/raw/main/img/image_89d46225e7bfb46d5e35e58216c626fc.png