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 (891760)
The information in this article applies to:
- Microsoft Windows Services for UNIX 3.5, when used with:
- Microsoft Windows XP Professional Service Pack 2 (SP2)
INTRODUCTIONThis 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 INFORMATIONTo enable access to certain features in Windows Services for UNIX
3.5, open the following ports in the Windows Firewall. The NFS server serviceTo 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. Service or feature | Protocol | Port | Portmapper | TCP, UDP | 111 | Status | TCP, UDP | 1039 | Nlockmgr | TCP, UDP | 1047 | Mountd | TCP, UDP | 1048 | NFS server | TCP, UDP | 2049 |
The NIS serverYou cannot install the Network Information Service (NIS) server feature in Windows XP. The Mapping server featureTo 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 "NFS server service" 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 PCNFSTo enable the Server for PCNFS, you must open the following ports. Service or feature | Protocol | Port | Portmapper | TCP, UDP | 111 | PCNFSD | UDP | 1035 |
The Telnet serverTo 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. Service or feature | Protocol | Port | Telnet | TCP | 23 |
The Password Synchronization featureTo sychronize UNIX-based passwords with Windows passwords, you must
open the following default port. Service or feature | Protocol | Port | Password Synchronization | TCP | 6677 | 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.
- In the Port number box, type the port
number that you want the Password Synchronization feature to use, and then
click Apply.
The RSH server featureTo enable external access to the Windows Services for UNIX 3.5 RSH server,
you must open the following port. Service or feature | Protocol | Port | RSH server | TCP | 514 |
The Services for UNIX Administration toolsTo 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:
- Click Start, click Run,
type firewall.cpl, and then click
OK.
- Click the Exceptions tab, click to select
the File and Printer Sharing check box, and then click
OK.
The Interix daemonsBy 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:
- Click Start, click Run,
type firewall.cpl, and then click
OK.
- Click the Exceptions tab, and then click
Add Port.
- 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.
- 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.
REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
324539
How to perform maintenance and ancillary tasks after a UNIX-to-Windows migration
Modification Type: | Minor | Last Reviewed: | 2/9/2005 |
---|
Keywords: | kbhowto kbinfo KB891760 kbAudDeveloper |
---|
|
|
©2004 Microsoft Corporation. All rights reserved.
|
|