mirror of
https://github.com/techgarage-ir/MTWireGuard.git
synced 2025-08-30 06:39:27 +02:00
26 lines
567 B
C#
26 lines
567 B
C#
|
namespace MTWireGuard.Application.Models.Requests
|
|||
|
{
|
|||
|
public class CreateServerRequest
|
|||
|
{
|
|||
|
public string Name { get; set; }
|
|||
|
|
|||
|
public ushort Port { get; set; } = 13231;
|
|||
|
|
|||
|
public ushort MTU { get; set; } = 1420;
|
|||
|
|
|||
|
public string PrivateKey { get; set; }
|
|||
|
|
|||
|
public bool Enabled { get; set; }
|
|||
|
|
|||
|
public string IPAddress { get; set; }
|
|||
|
|
|||
|
public bool UseIPPool { get; set; }
|
|||
|
|
|||
|
public int IPPoolId { get; set; }
|
|||
|
|
|||
|
public bool InheritDNS { get; set; }
|
|||
|
|
|||
|
public string DNSAddress { get; set; }
|
|||
|
}
|
|||
|
}
|