Microsoft KB Archive/891760

= A description of the ports that you must open in Windows XP Service Pack 2 to enable access to Windows Services for UNIX 3.5 =

Article ID: 891760

Article Last Modified on 2/9/2005

-

APPLIES TO


 * Microsoft Windows Services for UNIX 3.5, when used with:
 * Microsoft Windows XP Service Pack 2

-





INTRODUCTION
This article describes the ports that you must open in Microsoft Windows XP Service Pack 2 (SP2) to enable external access to services that are provided by Microsoft Windows Services for UNIX 3.5. By default, the Windows Firewall program is turned on in Windows XP SP2. Therefore, after you install Windows Services for UNIX 3.5, you must open specific ports in the Windows Firewall to enable external access to the Windows Services for UNIX 3.5 services. This article discusses the ports that you must open for the following services or features:
 * The NFS server service
 * The NIS server
 * The Mapping server feature
 * The Server for PCNFS
 * The Telnet server
 * The Password Synchronization feature
 * The RSH server feature
 * The Services for UNIX Administration tools
 * The Interix daemons



MORE INFORMATION
To enable access to certain features in Windows Services for UNIX 3.5, open the following ports in the Windows Firewall.

The NFS server service
To enable access to the Network File System (NFS) server service, you must open the following ports.

Note These ports provide access to the NFS server and its related services. Depending on your requirements, you must open TCP ports, UDP ports, or both TCP ports and UDP ports.

The NIS server
You cannot install the Network Information Service (NIS) server feature in Windows XP.

The Mapping server feature
To enable the Mapping server feature in Windows XP SP2, you must configure both the following:
 * You must enable the Portmapper TCP and UDP ports 111.

Note For additional information about the port requirements for the Portmapper feature, see the &quot;NFS server service&quot; section.
 * You must add the Mapsvc.exe program to the Windows Firewall exception list. To do this, follow these steps:
 * Click Start, click Run, type firewall.cpl, and then click OK.
 * Click the Exceptions tab, and then click Add Program.
 * Click Browse, locate and then click Mapsvc.exe, and then click Open.

Note By default, this file is located in the C:\SFU\Mapper folder.
 * Click Change scope, click one of the following scope options, and then click OK:
 * Any computer (including those on the Internet)
 * My network (subnet) only
 * Custom list
 * Click OK two times.

The Server for PCNFS
To enable the Server for PCNFS, you must open the following ports.

The Telnet server
To enable Telnet, you must open the following port.

Note This port enables the Windows Telnet program, not the Telnet program that is included with Windows Services for UNIX 3.5.

The Password Synchronization feature
To sychronize UNIX-based passwords with Windows passwords, you must open the following default port.

Note TCP port 6677 is the default port assignment for this feature. However, you can change the port that is used by the Password Synchronization feature by using the Services for UNIX Administration tool. To do this, follow these steps:  Start the Services for UNIX Administration tool, and then click Password Synchronization.

Note If Password Synchronization does not appear under the Services for UNIX [local] node, you must install the Password Synchronization feature. This feature is not installed if you perform a typical Windows Services for UNIX 3.5 installation. To install the Password Synchronization feature, follow these steps:  Click Start, click Control Panel, and then double-click Add or Remove Programs. Click Microsoft Windows Services for UNIX, and then click Change. In the Microsoft Windows Services for UNIX Maintenance Wizard, click Next. Click Add or remove, click Next, click Password Synchronization, click Will be installed on local hard drive, and then click Next. Click Finish, and then restart your computer if you are prompted to do this.</ol> </li> In the Port number box, type the port number that you want the Password Synchronization feature to use, and then click Apply.</li></ol>

The RSH server feature
To enable external access to the Windows Services for UNIX 3.5 RSH server, you must open the following port.

The Services for UNIX Administration tools
To enable access to Windows Services for UNIX 3.5 by using the Services for UNIX Administration tool or by using the Services for UNIX command-line tools, you must enable file and printer sharing in the Windows Firewall. To do this, follow these steps:
 * 1) Click Start, click Run, type firewall.cpl, and then click OK.
 * 2) Click the Exceptions tab, click to select the File and Printer Sharing check box, and then click OK.

The Interix daemons
By default, the Microsoft Interix daemons are not enabled. When you enable the Interix daemons by using the Inetd.conf file, you must also open the corresponding port in the Windows Firewall. You can determine the daemons that are configured to run by examining the etc/inetd.conf file. You can determine the corresponding port numbers to open for each service by examining the etc/services file. To open a port in the Windows Firewall, follow these steps:
 * 1) Click Start, click Run, type firewall.cpl, and then click OK.
 * 2) Click the Exceptions tab, and then click Add Port.
 * 3) In the Name box, type a descriptive name for the port, type the port number in the Port number box, click TCP or click UDP as appropriate, and then click Change scope.
 * 4) Click one of the following scope options, and then click OK:
 * 5) * Any computer (including those on the Internet)
 * 6) * My network (subnet) only
 * 7) * Custom list
 * 8) Click OK two times.

<div class="references_section">