I have setup a FreeBSD NFS server with the following configuration.
I can successfully mount my nfs export in Linux with
Edit:
Also following https://docs.freebsd.org/en/books/handbook/network-servers/#_configuring_the_client changes for
/etc/rc.conf
Code:
dumpdev="NO"
nfs_server_enable="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
nfs_server_flags="-t -n 4"
rpcbind_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
nfs_server_enable="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES"
nfs_server_flags="-t -n 4"
rpcbind_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
rpc_lockd_enable="YES"
/etc/exports
Code:
/jailed/probe1 -mapall=root [IP of my linux machine]
/jailed/probe2 -mapall=root [IP of my FreeBSD machine]
mount -t nfs nfs.my.domain:/jailed/probe1 /mnt
, but when trying the same ( mount -t nfs nfs.my.domain:/jailed/probe2 /mnt
) in my FreeBSD machine, I got the error
Code:
[tpc] nfs.my.domain:/jailed/nfc: Permission denied
Also following https://docs.freebsd.org/en/books/handbook/network-servers/#_configuring_the_client changes for
/etc/rc.conf
and service nfsclient start
did not help.