Partager via


VpnServerIPsecCustomConfiguration class

Represents the VPN server custom IPsec configuration.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("RAMgmtPSProvider"), AMENDMENT]
class VpnServerIPsecCustomConfiguration : VpnServerIPsecConfiguration
{
  uint32  IdleDisconnect;
  uint32  SALifeTime;
  uint32  MMSALifeTime;
  uint32  SADataSizeForRenegotiation;
  uint32  Ikev2Ports;
  uint32  L2tpPorts;
  uint32  SstpPorts;
  uint32  GrePorts;
  uint32  TunnelType;
  boolean CustomPolicy;
  uint32  EncryptionMethod;
  uint32  IntegrityCheckMethod;
  uint32  CipherTransformConstants;
  uint32  PfsGroup;
  uint32  AuthenticationTransformConstants;
  uint32  DHGroup;
};

Members

The VpnServerIPsecCustomConfiguration class has these types of members:

Properties

The VpnServerIPsecCustomConfiguration class has these properties.

AuthenticationTransformConstants

Data type: uint32

Access type: Read/write

Authentication transform plumbed in IPsec policy

CipherTransformConstants

Data type: uint32

Access type: Read/write

Cipher plumbed in IPsec policy

CustomPolicy

Data type: boolean

Access type: Read-only

Custom IKE and IPSEC policies, must be a separate parameter set

DHGroup

Data type: uint32

Access type: Read/write

DH Group Plumbed in IPsec policy

EncryptionMethod

Data type: uint32

Access type: Read/write

Encryption method plumbed in IKE policy

GrePorts

Data type: uint32

Access type: Read/write

Number of GRE ports created

Windows Server 2012 R2 and Windows Server 2012: This property is not supported before Windows Server 2016.

This property is inherited from VpnServerIPsecConfiguration.

IdleDisconnect

Data type: uint32

Access type: Read/write

The duration, in seconds, after which an idle connection is terminated

Unless the idle time-out is disabled, the entire connection is terminated if the connection is idle for the specified interval.

This property is inherited from VpnServerIPsecConfiguration.

Ikev2Ports

Data type: uint32

Access type: Read/write

Number of IKEv2 ports created

This property is inherited from VpnServerIPsecConfiguration.

IntegrityCheckMethod

Data type: uint32

Access type: Read/write

Integrity method plumbed in IPsec policy

L2tpPorts

Data type: uint32

Access type: Read/write

Number of L2TP ports created

This property is inherited from VpnServerIPsecConfiguration.

MMSALifeTime

Data type: uint32

Access type: Read/write

Lifetime of main mode security association (SA) in seconds, after which the MM SA is no longer valid

Windows Server 2012 R2 and Windows Server 2012: This property is not supported before Windows Server 2016.

This property is inherited from VpnServerIPsecConfiguration.

PfsGroup

Data type: uint32

Access type: Read/write

PFS Group plumbed in IPsec policy

SADataSizeForRenegotiation

Data type: uint32

Access type: Read/write

The number of kilobytes that can be transferred using a SA before the SA will be renegotiated

This property is inherited from VpnServerIPsecConfiguration.

SALifeTime

Data type: uint32

Access type: Read/write

Lifetime of a security association (SA), after which the SA is no longer valid, in seconds

This property is inherited from VpnServerIPsecConfiguration.

SstpPorts

Data type: uint32

Access type: Read/write

Number of SSTP ports created

Windows Server 2012: This property is not supported before Windows Server 2012 R2.

This property is inherited from VpnServerIPsecConfiguration.

TunnelType

Data type: uint32

Access type: Read/write

The tunnel type to apply to custom policy

Windows Server 2012: This property is not available before Windows Server 2012 R2.

This property is inherited from VpnServerIPsecConfiguration.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll