FPCVpnConfiguration object

Applies to: desktop apps only

The FPCVpnConfiguration object defines the virtual private network (VPN) settings for a Forefront TMG computer that acts as a VPN server in an array. For more information about using VPNs in Forefront TMG, including information about the Forefront TMG VPN quarantine, see Virtual Private Networks.

The FPCVpnConfiguration object is accessed through the VpnConfiguration property of an FPCNetworkConfiguration object.

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

Inheritance

This object inherits from the FPCPersist object, which contains methods and properties related to persistent storage of an object's data. They include methods for exporting an object's data to and importing it from an XML document.

Members

The FPCVpnConfiguration object has these types of members:

  • Methods
  • Properties

Methods

The FPCVpnConfiguration object has these methods.

Method Description
SetDNSConfiguration

Sets the primary and backup DNS servers, or specifies that the DNS server name is obtained from a DHCP server.

SetNetworkToObtainDHCP

Sets the name of the network for obtaining DHCP services.

SetSSTPListener

Sets the Web Listener used for SSTP access.

SetWINSConfiguration

Sets the primary and backup WINS servers, or specifies that the WINS server name is obtained from a DHCP server.

 

Properties

The FPCVpnConfiguration object has these properties.

Property Access type Description

AllowCustomIPSecPolicyForL2TP

Read/write

Gets or sets a Boolean value that indicates whether incoming L2TP connections may use a custom IPsec policy.

BackupDNSServer

Read-only

Gets the name of the backup Domain Name System (DNS) server.

BackupWINSServer

Read-only

Gets the name of the backup Windows Internet Name Service (WINS) server.

DomainGroups

Read-only

Gets an FPCAccounts collection that contains accounts representing domain groups.

DomainMappings

Read-only

Gets an FPCDomainMappings collection that contains a set of mappings, each of which defines a mapping of a single domain name to a set of domain names.

EnableL2TP

Read/write

Gets or sets a Boolean value that indicates whether L2TP is enabled.

EnablePPTP

Read/write

Gets or sets a Boolean value that indicates whether PPTP is enabled.

EnableRADIUSAccounting

Read/write

Gets or sets a Boolean value that indicates whether RADIUS accounting is enabled for VPN connections.

EnableRADIUSAuthentication

Read/write

Gets or sets a Boolean value that indicates whether RADIUS authentication is enabled for authenticating VPN clients.

EnableSSTP

Read/write

Gets or sets a Boolean value that indicates whether SSTP is enabled.

EnableVpnClients

Read/write

Gets or sets a Boolean value that indicates whether access for remote VPN clients is enabled.

EnableWindowsAccounting

Read/write

Gets or sets a Boolean value that indicates whether Windows accounting is enabled for VPN connections.

MaximumVpnClients

Read/write

Gets or sets the maximum number of concurrent VPN clients.

NetworkSetsToListenOn

Read-only

Gets an FPCRefs collection of references to the network sets from which VPN clients and remote VPN servers can initiate VPN connections.

NetworksToListenOn

Read-only

Gets an FPCRefs collection of references to the networks from which VPN clients and remote VPN servers can initiate VPN connections.

NetworkToObtainDHCP

Read-only

Gets an FPCRef object that references the FPCNetwork object representing the network for obtaining DHCP services.

PPPSettings

Read-only

Gets an FPCVpnPPPSettings object that represents the PPP settings for a Forefront TMG computer acting as a VPN server.

PresharedIPSecKey

Read/write

Gets or sets the preshared IPsec key for incoming L2TP connections.

PrimaryDNSServer

Read-only

Gets the name of the primary DNS server.

PrimaryWINSServer

Read-only

Gets the name of the primary WINS server.

QuarantineSettings

Read-only

Gets an FPCVpnQuarantineSettings object that represents the VPN quarantine settings.

RADIUSUserMapping

Read-only

Gets an FPCUserMapping object that represents the RADIUS user mapping settings for a Forefront TMG computer acting as a VPN server.

SSTPListener

Read-only

Gets an FPCRef object that references the FPCWebListener object representing the Web Listener used for SSTP access.

StaticAddressPool

Read-only

Gets an FPCIPRangeSet collection that contains objects defining the IP address ranges in the static address pool from which a VPN server can assign IP addresses to VPN clients connecting to it. (This property is deprecated in Forefront TMG.)

UseDHCPForAddressAssignment

Read/write

Gets or sets a Boolean value that indicates whether DHCP is used for assigning IP addresses to VPN clients and remote VPN servers.

UseDHCPForDNS

Read-only

Gets a Boolean value that indicates whether DHCP is used for DNS servers.

UseDHCPForWINS

Read-only

Gets a Boolean value that indicates whether DHCP is used for WINS servers.

 

Methods Inherited from FPCPersist

Name Description
CancelWaitForChanges Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only).
CanImport Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document.
Export Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML document.
ExportToFile Recursively writes the stored values of all the properties of the object and its subobjects to the specified XML file.
GetServiceRestartMask Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect.
Import Recursively copies the values of all the properties of the object and of its subobjects from the specified XML document to persistent storage.
ImportFromFile Recursively copies the values of all the properties of the object and of its subobjects from the specified XML file to persistent storage.
LoadDocProperties Provides the XML document's properties so that you can know what information can be imported from the document.
Refresh Recursively reads the values of all the properties of the object and of its subobjects from persistent storage, overwriting any changes that have not been saved.
Save Recursively writes the current values of all the properties of the object and its subobjects to persistent storage.
WaitForChanges Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only).

 

Properties Inherited from FPCPersist

Name Description
PersistentName Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy.
VendorParameterSets Gets an FPCVendorParametersSets collection that can hold sets of custom data for extending the object.

 

Interfaces for C++ Programming

This object implements the IFPCVpnConfiguration, IFPCEEVpnConfiguration, and IFPCVpnConfiguration2 interfaces.

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