Connection Sharing Registry Settings
Other versions of this page are also available for the following:
8/28/2008
The following table shows the named values for the HKEY_LOCAL_MACHINE\Comm\ConnectionSharing registry key that you can use to configure ICS.
Note
The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.
Value : type | Description |
---|---|
DHCPLeaseTime : REG_DWORD |
Default setting is 0xA. The valid range for this value is 0x1 to 0xFFFFFFFF. Specifies the lease time in minutes offered by the DHCP allocator. |
DhcpAllocationStartRange : DWORD |
Indicates the lowest IP address in a range of addresses that the DHCP Allocator will assign. This value should not contain subnet information. It should contain only the least-significant bits in the IP address range. If no value is specified, the DHCP Allocator assigns IP addresses across the entire subnet range of the private interface. For more information about how DhcpAllocationStartRange and DhcpAllocationEndRange work, see DHCP Allocator Operation. |
DhcpAllocationEndRange : DWORD |
Indicates the highest IP address in a specified range of addresses that the DHCP Allocator will assign. This value should not contain subnet information. It should contain only the least-significant bits in the IP address range. In this example, a gateway has a private interface address 192.168.0.1 and a subnet mask of 255.255.255.0. For the allocator to assign addresses in a range from 192.168.0.100 to 192.168.0.200, you would set the DhcpAllocationStartRange to equal 100 and DhcpAllocationEndRange to equal 200. Because the subnet is not used, if the IP address of the private interface changes to 169.254.1.2, you would not need to change these values. If no value is specified, the DHCP Allocator assigns IP addresses across the entire subnet range of the private interface. For more information about how DhcpAllocationStartRange and DhcpAllocationEndRange work, see DHCP Allocator Operation. |
EnableAddressTranslation : REG_DWORD |
Default setting is zero (0), or FALSE. Specifies whether NAT is enabled. The valid range for this value is 0 to 0xFFFFFFFF. A non-zero value enables NAT on the public interface specified in the PublicInterface subkey. A value of 0 specifies that NAT is not enabled. To use NAT, the HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms\IpEnableRouter registry value must also be non-zero. |
EnableDhcpAllocator : REG_DWORD |
Default setting is zero (0), or FALSE. Specifies whether the DHCP allocator is enabled. The valid range for this value is 0 to 0xFFFFFFFF. A non-zero value enables the DHCP allocator on the private interface specified in the PrivateInterface subkey. A value of 0 specifies that the DHCP allocator is not enabled. |
EnableDnsProxy : REG_DWORD |
Default setting is zero (0), or FALSE. Specifies whether DNS proxy is enabled. A non-zero value enables DNS proxy on the private interface specified in the PrivateInterface subkey. A value of 0 specifies that DNS proxy is not enabled. To use DNS proxy, the EnableDhcpAllocator registry value must also be non-zero. |
EnablePacketFiltering : REG_DWORD |
Specifies whether the packet filter is enabled. The valid range for this value is 0 to 0xFFFFFFFF. A non-zero value enables the packet filter. A value of 0 specifies that the packet filter is not enabled.
Security Note:
This subkey enables filtering in the NAT driver to help block unsolicited connections over the public network interface. Connections originating on the local network and connections mapped through the Network Address Translator are unaffected by this subkey.
|
InternalExposedHost : REG_SZ |
Specifies the IP address of the device on the network that you want to expose to the Internet.
Security Note:
Setting this value routes unknown traffic to the device. This value can be any valid IP address. This allows you to configure a gateway device to transfer unsolicited traffic to a certain IP address on the other side of the network.
|
PrivateInterface : REG_MULTI_SZ |
Specifies a list of names of the NDIS adapter instances for the private interfaces, for example, Ne20002. This value can be a list of names either of valid NDIS adapters or of valid dial-up networking connectoids. If the list contains multiple private interfaces, those interfaces must all have the same subnet value in their IP addresses. For example, if PrivateInterface equals "Ne20001";"Ne20002" and the Ne20001 interface has an IP address of 169.254.0.1, the Ne20002 interface can have an IP address of 169.254.0.2, but not 192.168.0.1. |
PublicInterface : REG_MULTI_SZ |
Specifies the name of the NDIS adapter instance for each public network interface. The following list shows the possible values:
The UPnP Internet Gateway Device (IGD) does not support multiple public interfaces, Therefore, for UPnP IGD port translation, the first connection listed in this value is considered the primary public interface. |
PublicInterface : REG_SZ |
(optional) If this value is not present, the port mapping is applied to the primary public interface only. If this value is present, the port mapping is restricted to the specified public interface. The following list shows the possible values:
|