Share via


Internet Connection Sharing Service Registry Settings (Compact 2013)

3/26/2014

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.

ICS also allows you to run services on devices in the network, and to provide access to those services from the public network through the IPv4 gateway. This capability requires that users are allowed to specify the service and the local-area network machine providing the service, and it also requires that incoming session requests be directed by the gateway to the specified device. Such mappings are referred to as server mappings, and are established through the registry.

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

Reference

Internet Connection Sharing Reference