UseFirewallIPAsSource Property of the IFPCServerPublishingProperties Interface

The UseFirewallIPAsSource property gets or sets a Boolean value that indicates whether the IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides will be used as the source IP address when the request is forwarded to the published server.

C++

HRESULT put_UseFirewallIPAsSource(
    VARIANT_BOOL fUseFirewallIPAsSource
);
HRESULT get_UseFirewallIPAsSource(
    VARIANT_BOOL* pfUseFirewallIPAsSource
);

Parameters

  • fUseFirewallIPAsSource
    Boolean value that indicates whether the IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides will be used as the source IP address when the request is forwarded to the published server.

  • pfUseFirewallIPAsSource
    Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides will be used as the source IP address when the request is forwarded to the server, or to VARIANT_FALSE if the original source IP address of the client will be used.

Return Value

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

Visual Basic

Property UseFirewallIPAsSource As Boolean

Property Value

Boolean value that indicates whether the IP address of the Forefront TMG computer's network adapter in the network where the server published by the rule resides will be used as the source IP address when the request is forwarded to the published server.

Remarks

This property is read/write. Its default value is False (VARIANT_FALSE in C++). When the value of this property is set to False (VARIANT_FALSE in C++), requests appear to come from the IP address of the original client, and the default gateway of the published server must be an IP address of the Forefront TMG computer.

If more than one IP address is configured on the applicable network adapter, this property applies to the first IP address.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCServerPublishingProperties

Send comments about this topic to Microsoft

Build date: 6/30/2010