Microsoft Internet Security and Acceleration Server 2000

IFWXSession::EnableInternalAddressTranslation Method

Enables or disables internal address translation.

HRESULT EnableInternalAddressTranslation(
  BOOL fEnable
);

Parameters

fEnable
[in] A nonzero value enables translation of external addresses to internal addresses. Zero disables the translation.

Return Values

S_OK
The method succeeded.
WFX_E_NOT_SUPPORTED
Modifying this property is not allowed for this session.

Remarks

This method can only be used for sessions created with CreatePrivateSession. By default, when a filter calls BindForClient, the address of the external host connecting will be seen by the internal client. In some circumstances this is not desirable. When internal address translation is enabled, the internal address of the Firewall service will be used instead.

See Also

IFWXSession::BindForClient