feat: 路由器手动粘贴版直连规则生成器(router/direct-rules.yaml)
CI / check (pull_request) Successful in 3s

This commit is contained in:
George Berkshire
2026-08-19 16:52:46 +08:00
parent 25fcdf0701
commit 1ed82f6fd5
3 changed files with 85 additions and 0 deletions
+2
View File
@@ -51,6 +51,8 @@ rules:
> 路由器内网自建 Gitea(192.168.50.2:3000)也可直连:`http://192.168.50.2:3000/ageorge156/vpn-rules/raw/branch/main/direct.yaml`。
**拉不到 URL 时(手动粘贴版)**:打开 `router/direct-rules.yaml`,把里面的规则行粘贴到路由器现有规则列表最前面即可,无需联网(生成命令 `python3 scripts/gen_router_paste.py`)。
## 维护流程
1. 改 `direct.yaml`(rule-provider 条目,**不含**策略字段)。