NFS: Windows Firewall should open all ports used by Services for Network File System

Updated: February 2, 2011

Applies To: Windows Server 2008 R2

This topic is intended to address a specific issue identified by a Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the File Services Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.

Operating System

Windows Server 2008 R2

Product/Feature

File Services

Severity

Error

Category

Configuration

Issue

Some ports used for Services for Network File System are closed in Windows Firewall.

Impact

Users will not have predictable access to shares when using the Network File System (NFS) protocol.

Resolution

Use Windows Firewall to open the appropriate ports.

Services for Network File System automatically opens the appropriate ports by default. If you change the default ports, you must manually open the appropriate ports in Windows Firewall.

Membership in the Administrators group is required to complete this procedure.

To open ports in Windows Firewall

  1. On a server running the User Name Mapping service or Services for NFS, click Start, click Run, type firewall.cpl, and then click OK.

  2. Click Advanced Settings and in View and create firewall rules, click Inbound Rules.

  3. In the Action pane, click New Rule.

  4. In the New Inbound Rule Wizard, in Rule Type, click Port and proceed through the wizard.