Share via


IFPCLowLevelSettings::DefaultAllowedAddressesInAllowFutureConnect property

Applies to: desktop apps only

The DefaultAllowedAddressesInAllowFutureConnect property gets or sets the allowed-addresses flags that will be included in the dwFlags parameter of the AllowFutureConnect method.

This property is read/write.

Syntax

HRESULT put_DefaultAllowedAddressesInAllowFutureConnect(
  long lAllowedAddresses
);

HRESULT get_DefaultAllowedAddressesInAllowFutureConnect(
  long *plAllowedAddresses
);
' Data type: Long

Property DefaultAllowedAddressesInAllowFutureConnect( _
  ByVal lAllowedAddresses As long, _
  ByVal plAllowedAddresses As long _
) As Long

Property value

A 32-bit integer that specifies the default allowed-addresses flags that will be included in the dwFlags parameter of the AllowFutureConnect method. The value of this property can be any combination of the following flags:

Value Meaning
FWX_FLAG_ALLOW_ADDRESSES_IN_CLASS_C_NETWORK

If the address specified in the Address parameter of the AllowFutureConnect method is in the same class-C network as the external peer, a secondary connection to it will be allowed.

FWX_FLAG_ALLOW_ADDRESSES_IN_NETWORK

If the address specified in the Address parameter is in the same network as the external peer, a secondary connection to it will be allowed.

FWX_FLAG_ALLOW_ADDRESSES_ALL

A secondary connection will be allowed to any address that is specified in the Address parameter.

 

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. By default, this property does not specify any allowed-addresses flags.

The AllowFutureConnect method uses the flags specified in this property only when the dwFlags parameter does not include any of the flags listed earlier. Otherwise, the method uses the flags passed in the dwFlags parameter.

After the value of this property has been modified, the change must be written to persistent storage by calling the Save method on an object containing FPCLowLevelSettings as a subobject, and the Microsoft Firewall service must be restarted for the change to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.

This property cannot be accessed through Forefront TMG Management.

Requirements

Minimum supported client

Windows Vista

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

DLL

Msfpccom.dll

See also

FPCLowLevelSettings

 

 

Build date: 7/12/2010