正在用的完整规则如下。两个 proxy-providers:
一个是机场原本的订阅 shutiaooriginal,只加在手动选择 select 分组里,避免自动测速导致封号或被加入专门的测速组
另一个是从 shutiaooriginal 里面手动筛选后的仅 6 个节点的订阅 shutiao,加在 fallback 分组里,平时主要用这个
预想的是只有第二个里的 6 个节点会自动测延迟,其它节点不会批量测,但实际使用,第一个订阅里面的也会批量测延迟(会显示 ms 数)
这是怎么回事啊?哪里没配置正确吗?
mixed-port: 4411
allow-lan: false
bind-address: '*'
mode: rule
log-level: info
ipv6: false
external-controller: 127.0.0.1:9090
hosts:
dns:
enable: false
listen: 0.0.0.0:53
default-nameserver:
- 114.114.114.114
- 8.8.8.8
enhanced-mode: redir-host # or fake-ip
fake-ip-range: 198.18.0.1/16 # Fake IP addresses pool CIDR
nameserver:
- 114.114.114.114 # default value
- 8.8.8.8 # default value
- tls://dns.rubyfish.cn:853 # DNS over TLS
- https://1.1.1.1/dns-query # DNS over HTTPS
fallback-filter:
geoip: true
ipcidr:
proxies:
proxy-groups:
- name: 🚀 节点选择
type: select
use:
- shutiao
- shutiaoorginal
proxies:
- ♻️ 自动选择
- 🔯 故障转移
- 🔮 负载均衡
- DIRECT
- name: ♻️ 自动选择
type: url-test
url: http://www.gstatic.com/generate_204
interval: 300
use:
- shutiao
- name: 🔯 故障转移
type: fallback
url: http://www.gstatic.com/generate_204
interval: 180
use:
- shutiao
- name: 🔮 负载均衡
type: load-balance
url: http://www.gstatic.com/generate_204
interval: 180
use:
- shutiao
- name: 🎯 全球直连
type: select
proxies:
- DIRECT
- 🚀 节点选择
- ♻️ 自动选择
- name: 🛑 全球拦截
type: select
proxies:
- REJECT
- DIRECT
- name: 🐟 漏网之鱼
type: select
use:
- shutiao
proxies:
- 🚀 节点选择
- 🎯 全球直连
- ♻️ 自动选择
- 🔯 故障转移
- 🔮 负载均衡
proxy-providers:
shutiao:
type: file
interval: 36000
path: ./shutiao.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204
shutiaoorginal:
type: http
interval: 36000
url: https://losadhwscd4ds8332dasd.xyz/link/q0iQYHXXke4KuzD6?clash=1
path: ./shutiaoorginal.yaml
health-check:
enable: true
interval: 600
url: http://www.gstatic.com/generate_204
rule-providers:
Unbreak:
type: http
behavior: classical
path: ./RuleSet/Unbreak.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/Unbreak.yaml
interval: 86400
Streaming:
type: http
behavior: classical
path: ./RuleSet/StreamingMedia/Streaming.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/StreamingMedia/Streaming.yaml
interval: 86400
Global:
type: http
behavior: classical
path: ./RuleSet/Global.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/Global.yaml
interval: 86400
China:
type: http
behavior: classical
path: ./RuleSet/China.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/China.yaml
interval: 86400
ChinaIP:
type: http
behavior: ipcidr
path: ./RuleSet/Extra/ChinaIP.yaml
url: https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/RuleSet/Extra/ChinaIP.yaml
interval: 86400
rules:
- RULE-SET,Unbreak,🎯 全球直连
- RULE-SET,Streaming,🚀 节点选择
- RULE-SET,Global,🚀 节点选择
- RULE-SET,China,🎯 全球直连
- IP-CIDR,192.168.0.0/16,🎯 全球直连
- IP-CIDR,10.0.0.0/8,🎯 全球直连
- IP-CIDR,172.16.0.0/12,🎯 全球直连
- IP-CIDR,127.0.0.0/8,🎯 全球直连
- IP-CIDR,100.64.0.0/10,🎯 全球直连
- IP-CIDR,224.0.0.0/4,🎯 全球直连
- RULE-SET,ChinaIP,🎯 全球直连
- MATCH,🐟 漏网之鱼
1
neteroster 2020-10-04 13:17:58 +08:00 1
```
shutiaoorginal: type: http interval: 36000 url: https://losadhwscd4ds8332dasd.xyz/link/q0iQYHXXke4KuzD6?clash=1 path: ./shutiaoorginal.yaml health-check: enable: true interval: 600 url: http://www.gstatic.com/generate_204 ``` 改为 ``` shutiaoorginal: type: http interval: 36000 url: https://losadhwscd4ds8332dasd.xyz/link/q0iQYHXXke4KuzD6?clash=1 path: ./shutiaoorginal.yaml health-check: enable: false ``` |
2
neteroster 2020-10-04 13:19:05 +08:00 1
@neteroster #1 缩进全没了,能看懂就行。
|
3
o0OoO0o OP @neteroster #1 哦,原来是一直在做 health-check,我傻了,谢谢老哥吖
|