nfs4 esports

Victor Gamov vit at euro-comm.net
Sun Apr 20 15:05:13 UTC 2014


Hi All

I have one FreeBSD NFS-4 server and some FreeBSD NFS- 4 clients.  And I want to export different parts of server filesystems to clients.

I try the following at /etc/exports:

V4:  /  -network=192.168.100.0/24
# I assume al clients from this network will have access to server

/usr/ports -maproot=root -network=192.168.100.0/24
# I want to allow mount servers /usr/ports by all clients

/pub/files/dir23 -maproot=root -network=192.168.100.23/32
# access /pub/files/dir23 from 192.168.100.23/32 only

/pub/files/dir24 -maproot=root -network=192.168.100.24/32
# access /pub/files/dir24 from 192.168.100.24/32 only


But now 192.168.100.24 allow to mount /pub/files/dir23 too

Is it possible via NFS-4?  If so where I have mistake (at syntax or at my logic)?


Thanks for advice!

--
CU,
Victor Gamov
vit at euro-comm.net






More information about the freebsd-questions mailing list