From: Dave Jones <Dave.Jones@xs4all.nl>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT - Finding the port NFS runs on
Date: Fri, 14 Mar 2008 10:27:26 +0100 [thread overview]
Message-ID: <47DA44FE.2010002@xs4all.nl> (raw)
In-Reply-To: <200803140938.16166.shrdlu@unlimitedmail.org>
Etaoin Shrdlu wrote on 14/03/08 09:38:
> On Friday 14 March 2008, Michael Sullivan wrote:
>> How can I find out what port NFS is running on so I can let it through
>> my subrouter?
> rpcinfo -p <hostname> should tell you. Note that you might need to open
> other ports in addition to those used by nfs itself. In particular, the
> statd, lockd and mountd daemons usually use random ports, and I don't
> know whether and how they can be instructed to use fixed port numbers in
> Gentoo. Refer to this document for more information:
> http://www.lowth.com/LinWiz/nfs_help.html
Modify /etc/conf.d/nfs to setup the ports you want to use:
OPTS_RPC_MOUNTD="-p nnnnn"
OPTS_RPC_STATD="-p mmmmm -o pppppp"
Modify /etc/sysctl.conf to set up the lockd port:
fs.nfs.nlm_udpport = xxxxxx
fs.nfs.nlm_tcpport = xxxxxx
NFS uses port 2049 as standard, portmap uses port 111
Cheers, Dave
--
gentoo-user@lists.gentoo.org mailing list
prev parent reply other threads:[~2008-03-14 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 4:27 [gentoo-user] OT - Finding the port NFS runs on Michael Sullivan
2008-03-14 4:46 ` Chris Brennan
2008-03-14 6:56 ` Alan McKinnon
2008-03-14 8:38 ` Etaoin Shrdlu
2008-03-14 9:27 ` Dave Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47DA44FE.2010002@xs4all.nl \
--to=dave.jones@xs4all.nl \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox