Go to main content

Managing Network File Systems in Oracle® Solaris 11.3

Exit Print View

Updated: September 2018
 
 

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 NFS client and the NFS 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.3.

  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.