Re: Re: Binding ports for NFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks to all of you who've taken the time to reply.
Unfortunately, I don't have an nfs configuration file inside /etc/sysconfig/
Should I create it? What should I put in it? Just what I'm being told about the ports or something else 
besides that?
Thanks again,
EJ

> On Friday 16 December 2005 04:56, redhatdude@xxxxxxxxxxxxx wrote:
> > Hi,
> > Let's see if I have more luck with this question and somebody answers
> > it.
> > 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,
> > EJ
> 
> 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 )
> 
> RPCNFSDCOUNT=32
> 
> # ports for statd daemon
> STATD_PORT=4000
> STATD_OUTGOING_PORT=4004
> 
> # ports for lockd daemon
> LOCKD_TCPPORT=4001
> LOCKD_UDPPORT=4001
> 
> # ports for mountd daemon
> #MOUNTD_NFS_V2=no
> #MOUNTD_NFS_V3=no
> MOUNTD_PORT=4002
> 
> # ports for rquota daemon
> #RQUOTAD=no
> RQUOTAD_PORT=4003
> 
> 
> Make sure you allow access to these daemons in your /etc/hosts.allow file 
> and through your firewall.
> 
> 
> Tony



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux