diff --git a/Netch/Servers/V2ray/V2rayConfig.cs b/Netch/Servers/V2ray/V2rayConfig.cs index 2850097b..7a84228c 100644 --- a/Netch/Servers/V2ray/V2rayConfig.cs +++ b/Netch/Servers/V2ray/V2rayConfig.cs @@ -40,6 +40,10 @@ public class OutboundConfiguration public object[] servers { get; set; } + public string address { get; set; } + + public ushort port { get; set; } + public string packetEncoding { get; set; } public string plugin { get; set; } diff --git a/Netch/Servers/WireGuard/WireGuardServer.cs b/Netch/Servers/WireGuard/WireGuardServer.cs index 26bb3d14..7ceb8347 100644 --- a/Netch/Servers/WireGuard/WireGuardServer.cs +++ b/Netch/Servers/WireGuard/WireGuardServer.cs @@ -8,7 +8,7 @@ public class WireGuardServer : Server public override string MaskedData() { - return $"{LocalAddress} + {MTU}"; + return $"{LocalAddresses} + {MTU}"; } ///