Binding ports for NFS
tony.molloy at ul.ie
Fri Dec 16 14:01:07 UTC 2005
On Friday 16 December 2005 04:56, redhatdude at bellsouth.net wrote:
> Let's see if I have more luck with this question and somebody answers
> I'm trying to share a folder using NFS. The problem I'm having is
> with the ports some of the daemons use and the firewall. The ports
> for portmapper and nfsd remain the same all the time and I can open
> them in the firewall. However, daemons such as lockd and mountd
> change every time I load the nfs service. What I'd like to do is bind
> these daemos to a specific port that would remain open in the
> firewall. How can I accomplish that?
> Thanks a lot for any help,
On a fedora system put the following in /etc/sysconfig/nfs. It defines the
ports for the various daemons to use.
# Created 05.07.05 by Tony Molloy
# based on work by Christopher K. Johnson ( dorigo.net )
# ports for statd daemon
# ports for lockd daemon
# ports for mountd daemon
# ports for rquota daemon
Make sure you allow access to these daemons in your /etc/hosts.allow file
and through your firewall.
Dept. of Comp. Sci.
University of Limerick
More information about the fedora-list