From a9e45e861893c5770b4a222cda4197f0f1f2b7cf Mon Sep 17 00:00:00 2001 From: salem <77879189@qq.com> Date: Sun, 30 Aug 2026 18:08:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20config/stash/stash-config-?= =?UTF-8?q?wiki.MD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/stash/stash-config-wiki.MD | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/config/stash/stash-config-wiki.MD b/config/stash/stash-config-wiki.MD index e6edbc7..54b1308 100644 --- a/config/stash/stash-config-wiki.MD +++ b/config/stash/stash-config-wiki.MD @@ -108,4 +108,30 @@ proxies: - 在`proxies:`块里定义:✅有效 - 在 proxy‑groups 选择使用:✅有效 -- 在 rules 直接写`🟢 直连`:❌无效,必须用保留字`DIRECT`。 \ No newline at end of file +- 在 rules 直接写`🟢 直连`:❌无效,必须用保留字`DIRECT`。 + +## fake‑ip‑filter📌关键区分表 + +表格 + +| 项目 | 原版 Mihomo (Android/Linux/Windows) | Stash‑iOS | +| --- | --- | --- | +| blacklist 模式下写 `- rule‑set:xxx` | ✅原生支持 | ❌不生效,被裁剪 | +| blacklist 模式下写 `- geosite:xxx` | ✅支持 | ✅支持 | +| fake‑ip‑filter‑mode: rule | ✅完整支持 | ✅内核存在,但**官方 Wiki 不记载**,属于继承特性 | +| rule 模式语法 `RULE‑SET,xxx,real‑ip` | ✅原生支持 | ✅可以用,但文档无记录 | + +## 2、规则模式 `fake‑ip‑filter‑mode: rule` +完整规则语法,和外层`rules:`语法一致,自上而下匹配,**每条末尾必须写动作 `fake‑ip` / `real‑ip`**GitHub。 +✅完整支持:`GEOSITE`、`RULE‑SET`、`DOMAIN`、`MATCH`。 + +``` +dns: + enhanced-mode: fake-ip + fake-ip-filter-mode: rule + fake-ip-filter: + - '*.lan,real-ip' + - 'GEOSITE,private,real-ip' + - 'RULE‑SET,salem@cn,real‑ip' + - 'MATCH,fake‑ip' +``` \ No newline at end of file