To add a service definition
Open Network Connections
Click the shared connection or the Internet connection that is protected by Internet Connection Firewall, and then, under Tasks, click Change settings of this connection.
On the Advanced tab, click Settings.
On the Services tab, click Add and enter all of the following information:
In Description of service, type an easily recognized name for the service.
In Name or IP address of the computer hosting this service on your network, type the name or IP address of the computer that runs the service.
In External port number for this service, type the port number that external computers will use to contact this service.
In Internal Port number for this service, type the port number that the service on your network is using.
Click either TCP or UDP.
To open Network Connections, click Start, click Control Panel, click Network and Internet Connections, and then click Network Connections.
You must be logged on as an administrator or a member of the Administrators group in order to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.
Either Internet Connection Sharing or Internet Connection Firewall must be enabled to add services.
You can obtain the correct configuration values for the TCP or UDP port number from the service's documentation or Web site.
To access the Windows XP Services tab from a Windows 98, Windows 98 Second Edition, or Windows Millennium Edition client computer, use the Windows XP CD or floppy disk to run the Network Setup Wizard on these computers. After running the wizard, on the client computer, click Start, point to Accessories, point to Communications, and then click Internet Gateway. In the Status dialog box, click Properties, and then click the Services tab. To create a Network Setup Wizard floppy disk, see To create a network setup floppy disk
Internet Connection Sharing, Internet Connection Firewall, Discovery and Control, and Network Bridge are not available on Windows XP 64-Bit Edition.
Service definitions overview
Edit a service definition
Delete a service definition