Go to main content

Managing Network File Systems in Oracle® Solaris 11.4

Exit Print View

Updated: August 2021
 
 

How to Mount an NFS File System Through a Firewall

Before You Begin

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.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.

  2. Manually mount the file system by using a command such as the following:
    # 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.