In the advanced settings of the properties for a network connection, you use the
Services tab to configure services for both ICS and ICF/WF. Configuring a service on this tab enables packets for that service to be passed through ICF/WF (if ICF/WF is enabled for the specified network connection). If ICS is also enabled on the connection, the
Name or IP address box in the
Service Settings dialog box instructs ICS where to send requests for each service that is enabled. The default location is the local computer, but you can redirect requests for the service to a computer on the private network, which is a function of ICS.
With ICS disabled and ICF/WF enabled, you might create a service filter that does not have the intended effect. For example, if you want to redirect all Web traffic from the Internet to an internal host, ICF/WF is enabled on the interface that connects to the Internet, and ICS is disabled, you can specify the name or IP address of an internal host in the
Service Settings dialog box. With only ICF/WF enabled, the traffic is allowed through the firewall, but is not redirected to an internal host. In this case, connection attempts from the internet on TCP port 80 are allowed through the firewall, but are directed to the Internet connection of the Windows XP-based host. If no service is listening on TCP port 80 on the Internet-connected interface, the connection does not work. This behavior could be a security risk because ICF/WF is configured to allow packets to pass through, even though the service may not exist. To avoid this security risk, use one of the following methods:
- Enable ICS to allow the service to be redirected to the appropriate internal host.
- Disable service mappings to internal hosts if ICS is disabled.
To enable ICS
- Click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.
- View the properties for the interface that connects to the Internet.
- On the Advanced tab, click Settings.
- In the Internet Connection Sharing section, select the Allow other network users to connect through this computer's Internet connection check box.
To configure service mappings
- Click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.
- View the properties for the interface that connects to the Internet.
- On the Advanced tab, ensure that either ICF/WF or ICS is enabled. If neither ICF/WF nor ICS is enabled, the Settings button is unavailable, and any service mappings that are listed are ignored.
- Click Settings.
Note On a Windows XP SP2 based computer, click Settings in the Internet Connection Sharing section. - On the Services tab:
- Clear the check box for any services that are not running.
- Clear the check box for any services to which Internet users should not be able to gain access.
- If ICS is disabled and ICF/WF is enabled, clear the check box for any services that are not running on the Windows XP-based computer and listening on the Internet-connected interface. In other words, do not select the check box for any services that are running only on internal hosts unless ICS is also enabled.
- Select the check box only for services to which Internet users should be allowed to gain access.
- To configure a service to be redirected to an internal host, use the following steps only if ICS is enabled for the connection:
- Click the service in the list and make sure its check box is selected.
- Click Edit.
- In the Name or IP address box, type the name or IP address of the internal host on which the service is running.
It is typically a good idea to use a fully qualified Domain Name System (DNS) name when you specify a name. For Windows XP, ICS uses MSHOME.NET as the domain name. Therefore, if the name of the internal server is SERV1, the fully qualified name is SERV1.MSHOME.NET.
- Click OK to close the Service Settings dialog box.
- Click OK to close the Advanced Settings dialog box.
- Click OK to close the Network Connection Properties dialog box.