Control NFS requests from nonreserved ports

Contributors

You can reject NFS mount requests from nonreserved ports by enabling the -mount-rootonly option. To reject all NFS requests from nonreserved ports, you can enable the -nfs-rootonly option.

About this task

By default, the option -mount-rootonly is enabled.

By default, the option -nfs-rootonly is disabled.

These options do not apply to the NULL procedure.

Step
  1. Perform one of the following actions:

    If you want to…​ Enter the command…​

    Allow NFS mount requests from nonreserved ports

    vserver nfs modify -vserver vserver_name -mount-rootonly disabled

    Reject NFS mount requests from nonreserved ports

    vserver nfs modify -vserver vserver_name -mount-rootonly enabled

    Allow all NFS requests from nonreserved ports

    vserver nfs modify -vserver vserver_name -nfs-rootonly disabled

    Reject all NFS requests from nonreserved ports

    vserver nfs modify -vserver vserver_name -nfs-rootonly enabled