From 86fd28ec8d50bec94d376903d3087f4a6997a5a1 Mon Sep 17 00:00:00 2001 From: test-black <3304156518@qq.com> Date: Sat, 12 Jun 2021 00:20:33 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=B1=8F=E8=94=BD?= =?UTF-8?q?=E5=9B=BD=E5=86=85=20IP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/documents/level-0/ch07-xray-server.md | 9 +++++++++ content_en/documents/level-0/ch07-xray-server.md | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/content/documents/level-0/ch07-xray-server.md b/content/documents/level-0/ch07-xray-server.md index d05b0c6e4b..13ab530982 100644 --- a/content/documents/level-0/ch07-xray-server.md +++ b/content/documents/level-0/ch07-xray-server.md @@ -244,6 +244,15 @@ weight: 7 "geosite:category-ads-all" // 分流条件:geosite文件内,名为"category-ads-all"的规则(各种广告域名) ], "outboundTag": "block" // 分流策略:交给出站"block"处理(黑洞屏蔽) + }, + // 3.3 屏蔽国内 IP + // 关于流量特征的讨论: https://github.com/XTLS/Xray-core/discussions/593 + { + "type": "field", + "ip": [ + "geoip:cn" // 分流条件:geoip文件内,名为"cn"的规则(国内 IP) + ], + "outboundTag": "block" // 分流策略:交给出站"block"处理(黑洞屏蔽) } ] }, diff --git a/content_en/documents/level-0/ch07-xray-server.md b/content_en/documents/level-0/ch07-xray-server.md index 8e15d26a56..9645700950 100644 --- a/content_en/documents/level-0/ch07-xray-server.md +++ b/content_en/documents/level-0/ch07-xray-server.md @@ -244,6 +244,15 @@ weight: 7 "geosite:category-ads-all" // 分流条件:geosite文件内,名为"category-ads-all"的规则(各种广告域名) ], "outboundTag": "block" // 分流策略:交给出站"block"处理(黑洞屏蔽) + }, + // 3.3 屏蔽国内 IP + // 关于流量特征的讨论: https://github.com/XTLS/Xray-core/discussions/593 + { + "type": "field", + "ip": [ + "geoip:cn" // 分流条件:geoip文件内,名为"cn"的规则(国内 IP) + ], + "outboundTag": "block" // 分流策略:交给出站"block"处理(黑洞屏蔽) } ] },