diff --git a/Netch/Servers/V2ray/V2rayConfigUtils.cs b/Netch/Servers/V2ray/V2rayConfigUtils.cs index c47807fe..2a4cf464 100644 --- a/Netch/Servers/V2ray/V2rayConfigUtils.cs +++ b/Netch/Servers/V2ray/V2rayConfigUtils.cs @@ -13,7 +13,6 @@ public static class V2rayConfigUtils { inbounds = new object[] { - // https://www.v2fly.org/en_US/v5/config/proxy/socks.html new { port = Global.Settings.Socks5LocalPort, @@ -21,8 +20,8 @@ public static class V2rayConfigUtils listen = Global.Settings.LocalAddress, settings = new { - udpEnabled = true, - packetEncoding = Global.Settings.V2RayConfig.XrayCone ? "packet" : "none" + auth = "noauth", + udp = true } } }