The DefaultAllowedAddressesInBindForClient property gets or sets the allowed-addresses flags that will be included in the dwFlags parameter of the BindForClient method.
HRESULT put_DefaultAllowedAddressesInBindForClient( long lAllowedAddresses ); HRESULT get_DefaultAllowedAddressesInBindForClient( long* 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.
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. |
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property DefaultAllowedAddressesInBindForClient As Long
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. |
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.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.