Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2014 18:55:04 +0400
From:      Victor Gamov <vit@euro-comm.net>
To:        freebsd-questions@freebsd.org
Subject:   nfs4 esports
Message-ID:  <6675F6F5-C7EF-424B-ABCB-3C89FEB37646@euro-comm.net>

next in thread | raw e-mail | index | archive | help
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=3D192.168.100.0/24
# I assume al clients from this network will have access to server

/usr/ports -maproot=3Droot -network=3D192.168.100.0/24
# I want to allow mount servers /usr/ports by all clients

/pub/files/dir23 -maproot=3Droot -network=3D192.168.100.23/32
# access /pub/files/dir23 from 192.168.100.23/32 only

/pub/files/dir24 -maproot=3Droot -network=3D192.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@euro-comm.net







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6675F6F5-C7EF-424B-ABCB-3C89FEB37646>