mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
Update V2rayConfigUtils
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user