How to Mount an NFS File System Through a Firewall

This procedure requires that the file system on the NFS server be shared by using the public option. Additionally, any firewalls between the client and the server must allow TCP connections on port 2049. All file systems that are shared allow for public file handle access, so the public option is applied by default.

  1. Become an administrator.
  2. Manually mount the file system.
    # mount -F nfs host:pathname mount-point

    For example:

    # mount -F nfs bee:/export/share/local /mnt

    In this example, the file system /export/share/local is mounted on the local client by using the public file handle. An NFS URL can be used instead of the standard path name. If the public file handle is not supported by the server bee, the mount operation fails.