Share via


FPCVpnNetworkL2tpPptpSettings object

Applies to: desktop apps only

The FPCVpnNetworkL2tpPptpSettings object defines the Layer Two Tunneling Protocol (L2TP) or Point-to-Point Tunneling Protocol (PPTP) settings for outgoing site-to-site virtual private network (VPN) connections to a remote site network.

When the L2TP or PPTP protocol is used for outgoing site-to-site VPN connections, in addition to configuring the properties of this object, you must configure an IP address of the remote site gateway as the default gateway for the local Forefront TMG computer. This adds a static route between the Forefront TMG computer and the remote site gateway. When no default gateway is defined, traffic from the VPN server in the remote site is considered spoofed and is denied.

The FPCVpnNetworkL2tpPptpSettings object can be accessed through the L2tpPptpSettings property of an FPCVpnNetworkConfiguration object when the NetworkConnectionType property of the containing FPCNetwork object is set to fpcVPNConnection.

Ff826919.bkbutton(en-us,VS.85).png Click here to see the Forefront TMG object hierarchy.

Members

The FPCVpnNetworkL2tpPptpSettings object has these types of members:

  • Methods
  • Properties

Methods

The FPCVpnNetworkL2tpPptpSettings object has these methods.

Method Description
Refresh

Recursively reads the values of all of the object's properties from persistent storage, discarding any changes that have not been saved.

Save

Recursively writes the current values of all of the object's properties to persistent storage.

 

Properties

The FPCVpnNetworkL2tpPptpSettings object has these properties.

Property Access type Description

AllowOutgoingConnection

Read/write

Gets or sets a Boolean value that indicates whether the local site can initiate a VPN connection to the remote site.

EnableCHAP

Read/write

Gets or sets a Boolean value that indicates whether the Challenge Handshake Authentication Protocol (CHAP) can be used for outgoing authentication.

EnableEAP

Read/write

Gets or sets a Boolean value that indicates whether the Extensible Authentication Protocol (EAP) can be used for outgoing authentication.

EnableMSCHAP

Read/write

Gets or sets a Boolean value that indicates whether the Microsoft Challenge Handshake Authentication Protocol version 1 (MS-CHAP) can be used for outgoing authentication.

EnableMSCHAPv2

Read/write

Gets or sets a Boolean value that indicates whether the Microsoft Challenge Handshake Authentication Protocol version 2 (MS-CHAP v2) can be used for outgoing authentication.

EnablePAP

Read/write

Gets or sets a Boolean value that indicates whether the Password Authentication Protocol (PAP) can be used for outgoing authentication.

EnableShivaPAP

Read/write

Gets or sets a Boolean value that indicates whether the Shiva Password Authentication Protocol (SPAP) can be used for outgoing authentication.

IdleDisconnectTime

Read/write

Gets or sets the time, in seconds, after which an inactive connection is closed.

PresharedKey

Read/write

Gets or sets the preshared key for outgoing L2TP connections.

Protocol

Read/write

Gets or sets a value from the FpcVpnProtocol enumerated type that specifies which VPN protocol is to be used.

RemoteCredentials

Read-only

Gets an FPCCredentials object that specifies the user name, including the domain name, and the password that are presented to the remote site for authentication.

RemoteServerAddress

Read/write

Gets or sets the name or IP address of the remote VPN server.

UseIdleDisconnectTime

Read/write

Gets or sets a Boolean value that indicates whether an inactive connection will be closed after the time specified in the IdleDisconnectTime property elapses.

UsePresharedKey

Read/write

Gets or sets a Boolean value that indicates whether a preshared key is to be used for authenticating outgoing L2TP connections.

 

Interfaces for C++ Programming

This object implements the IFPCVpnNetworkL2tpPptpSettings interface.

Requirements

Minimum supported client

Windows Vista, None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

See also

COM Objects

 

 

Build date: 7/12/2010