Restricting NFS daemons

cpghost cpghost at cordula.ws
Tue Jan 25 04:51:06 PST 2005


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/


More information about the freebsd-questions mailing list