Guide

The first configuration change you should make is creating your /etc/exports. An example of a relatively simple one is as follows:

/ -alldirs -network 192.168.1.20 -mask 255.255.255.0

This will allow the IP of 192.168.1.20 to connect to your NFS share. Swap it to whatever IP you are trying to allow. Read the man page for more advanced setups by checking:

man exports

The next configuration change you have to make it to your /etc/rc.conf. Add the following:

rpcbind_enable="YES" mountd_enable="YES" nfs_server_enable="YES" mountd_flags="-r"

Then you can start the individual processes. They are as follows: