DefaultAllowedAddressesInAllowFutureConnect Property of the IFPCLowLevelSettings Interface

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

[C++]
HRESULT put_DefaultAllowedAddressesInAllowFutureConnect(
	long lAllowedAddresses
);
HRESULT get_DefaultAllowedAddressesInAllowFutureConnect(
	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 AllowFutureConnect method.

lAllowedAddresses

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

Return Value

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

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

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

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.