Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务器屏蔽国内 IP #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions content/documents/level-0/ch07-xray-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"处理(黑洞屏蔽)
}
]
},
Expand Down
9 changes: 9 additions & 0 deletions content_en/documents/level-0/ch07-xray-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"处理(黑洞屏蔽)
}
]
},
Expand Down