Files
nexus/wiki/concepts/策略组分流.md
2026-04-22 04:03:04 +08:00

34 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 策略组分流
## Definition
基于预定义的流量分类规则(按应用、地区、目标网站等),将不同类型的网络请求转发到不同代理节点的流量管理机制。
## Definition (English)
A traffic management mechanism that routes different types of network requests to different proxy nodes based on predefined classification rules (by application, region, target website, etc.).
## How It Works
用户在MerlinClash等插件中配置策略组定义以下规则
1. **域名规则**指定域名走哪个节点如Netflix走台湾节点
2. **应用规则**指定应用走哪个节点如YouTube走香港节点
3. **地区规则**:按目标服务器地理位置选择节点
4. **兜底规则**:没有匹配时使用默认策略
## Example Configuration
| 目标 | 策略 |
|------|------|
| Google | 自动选择(延迟最低) |
| Netflix | 台湾节点 |
| YouTube | 香港节点 |
| 国内网站 | 直连(不经过代理) |
## Benefits
- **优化访问速度**:选择物理距离最近的节点
- **解锁地区限制**如使用香港节点解锁TVB
- **负载均衡**:分散流量到多个节点
- **故障转移**:主节点不可用时自动切换
## Related
- [[MerlinClash插件]] — 策略组分流的主要实现平台
- [[故障转移]] — 与策略组配合的可靠性机制
- [[订阅机制]] — 节点配置来源