Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 13:51:06 +0100
From:      cpghost <cpghost@cordula.ws>
To:        freebsd-questions@freebsd.org
Subject:   Restricting NFS daemons
Message-ID:  <41F640BA.2040707@cordula.ws>

next in thread | raw e-mail | index | archive | help
Hello,

how can one configure NFS daemons (esp. mountd and rpcbind) so that they 
listen
only on one IP address (e.g. on 192.168.1.1)?

1. nfsd's -h flag works great.

2. rpcbind's -h flag doesn't seem to work. rpcbind listens on the interfaces
specified by -h, but, according to 'sockstat -4l' also on *.111 and
*.<some-random-port>.

3. mountd doens't have a flag at all for this. -p can specify a port,
but not an IP address. It opens a port on *.<some-random-port>.

Any ideas?

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F640BA.2040707>