Service Registry Settings

The Service registry settings allow you to set up port mappings. You can configure a device to direct a specific band of incoming traffic through the specified Port to the InternalName server or some InternalPort. The incoming traffic can be TCP or UDP, as specified by Protocol.

This redirection of network traffic is different from the InternalExpostHost registry setting, which directs all incoming traffic to a specific IP address. The Service registry allows you to redirect only a specific band of traffic that is directed to a specific port. You can use both settings to filter traffic coming from the other side of the firewall.

Note   The default registry values vary depending on which features are included in your platform. For more information, see Default Registry Settings.

The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\ConnectionSharing\Servers\Service registry key that you can use to configure service-related items for ICS.

Value : type Description
InternalName : REG_SZ Specifies the name of the server on the network to which the request should be sent.

This value can be any IP address.

InternalPort : REG_DWORD Specifies the port number of the device listed in the InternalName subkey to which the request should be sent.

The valid range for this value is 0 to 0xFFFF.

IsEnabled : REG_DWORD Default setting is zero (0).

Specifies whether the service is enabled. The valid range for this value is 0 to 0xFFFFFFF. A non-zero value enables the service. A value of 0 specifies that the service is not enabled.

Port : REG_DWORD Specifies the port reserved on the gateway device. The valid range for this value is 0 to 0xFFFF.
Protocol : REG_SZ Specifies the protocol. This value can be either "UDP" or "TCP".

See Also

Internet Connection Sharing Registry Settings

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.