IFPCLowLevelSettings::DefaultAllowedAddressesInBindForClient property

Applies to: desktop apps only

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

This property is read/write.

Syntax

HRESULT put_DefaultAllowedAddressesInBindForClient(
  long lAllowedAddresses
);

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

Property DefaultAllowedAddressesInBindForClient( _
  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 BindForClient 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 all of the addresses specified in the ClientAddress parameter of the BindForClient method are in the same class-C network as the client, secondary connections to them will be allowed.

FWX_FLAG_ALLOW_ADDRESSES_IN_NETWORK

If all of the addresses specified in the ClientAddress parameter are in the same network as the client, secondary connections to them will be allowed.

FWX_FLAG_ALLOW_ADDRESSES_ALL

A secondary connection will be allowed to any address specified in the ClientAddress 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 BindForClient 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