I need to setup an NFS Server on FreeBSD, I have gone through a couple guides to try and get it running but can't quite get it going. I have the server running, but I seem to be having trouble setting up the /etc/exports file correctly. I have tried the following lines and all have given me errors saying that their is a bad line in the exports file when I try and and reload it.
/home -alldirs -network 192.168.1.106
/home machinename1
/home/user -network 192.168.1.0 -mask 255.255.255.0
What am I missing and what should I check?