From 26fe7ad593dac3ecc2a85c916942ee9f1052f264 Mon Sep 17 00:00:00 2001 From: ChsBuffer <33744752+chsbuffer@users.noreply.github.com> Date: Tue, 1 Jun 2021 16:34:55 +0800 Subject: [PATCH] Update V2rayConfigUtils --- Netch/Servers/V2ray/Utils/V2rayConfigUtils.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Netch/Servers/V2ray/Utils/V2rayConfigUtils.cs b/Netch/Servers/V2ray/Utils/V2rayConfigUtils.cs index ccb5e8c9..fbc182f5 100644 --- a/Netch/Servers/V2ray/Utils/V2rayConfigUtils.cs +++ b/Netch/Servers/V2ray/Utils/V2rayConfigUtils.cs @@ -67,7 +67,12 @@ namespace Netch.Servers.V2ray.Utils }; if (mode.Type is ModeType.Process or ModeType.ProxyRuleIPs or ModeType.BypassRuleIPs) - blockRuleObject.ip.Add("geoip:private"); + { + blockRuleObject.ip.Add("224.0.0.0/4"); + blockRuleObject.ip.Add("240.0.0.0/4"); + blockRuleObject.ip.Add("255.255.255.255/32"); + blockRuleObject.ip.Add("fc00::/7"); + } static bool CheckRuleItem(ref RulesItem rulesItem) {