DefaultAllowedAddressesInBindForClient Property of the IFPCLowLevelSettings Interface

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

[C++]
HRESULT put_DefaultAllowedAddressesInBindForClient(
	long lAllowedAddresses
);
HRESULT get_DefaultAllowedAddressesInBindForClient(
	long* plAllowedAddresses
);

Parameters

plAllowedAddresses

Pointer to a variable that on return receives a 32-bit integer specifying the allowed-addresses flags that will be included in the dwFlags parameter of the BindForClient method.

lAllowedAddresses

A 32-bit integer that specifies the allowed-addresses flags that will be included in the dwFlags parameter of the BindForClient method. This parameter 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.

Return Value

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

[Visual Basic]
Property DefaultAllowedAddressesInBindForClient 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.

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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCLowLevelSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.