nfs, mountd, /etc/exports: grant access to several networks
Oliver Fromme
olli at lurza.secnetix.de
Mon Feb 19 13:35:16 UTC 2007
bkoenig at alpha-tierchen.de wrote:
> is it possible to allow hosts of different networks to mount an NFS export?
Sure.
> I tried already the following statements in /etc/exports without success:
>
> -network <net1/mask> <net2/mask>
> -network <net1/mask> -network <net2/mask>
Just list them on separate lines, e.g.
/foo/bar -network <net1> -mask <mask1>
/foo/bar -network <net2> -mask <mask2>
Also see the examples in the exports(5) manual page.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH & Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
"... there are two ways of constructing a software design: One way
is to make it so simple that there are _obviously_ no deficiencies and
the other way is to make it so complicated that there are no _obvious_
deficiencies." -- C.A.R. Hoare, ACM Turing Award Lecture, 1980
More information about the freebsd-questions
mailing list