Linux NFS development
 help / color / mirror / Atom feed
* NFS + ssh (NFS HOWTO Question)
@ 2003-09-26  0:08 Derek Simkowiak
  0 siblings, 0 replies; only message in thread
From: Derek Simkowiak @ 2003-09-26  0:08 UTC (permalink / raw)
  To: nfs


      Hello,
	I have a quick question about the NFS Howto.  There is something in it 
that I do not understand.  I'm working on an ssh tunnel for NFS.


 From http://nfs.sourceforge.net/nfs-howto/security.html
--------------------------------------------------
For example, to have statd broadcast of port 32765 and listen on port 
32766, and mountd listen on port 32767, you would type:

# statd -p 32765 -o 32766
# mountd -p 32767

[...]

lockd is started by the kernel when it is needed. Therefore you need to 
pass module options (if you have it built as a module) or kernel options 
to force lockd to listen and respond only on certain ports.

If you are using loadable modules and you would like to specify these 
options in your /etc/modules.conf file add a line like this to the file:

options lockd nlm_udpport=32768 nlm_tcpport=32768
--------------------------------------------------

	In the above section it says how to force both lockd and statd onto 
certain ports.  But then a little further down on that same page, where 
it talks about NFS over ssh, it has this seemingly contradicting 
information:

--------------------------------------------------
It is not possible to ask statd or the locking manager to make requests 
to a particular port for a particular mount; therefore, any locking 
requests will cause statd to connect to statd on localhost, i.e., 
itself, and it will fail with an error. Any attempt to correct this 
would require a major rewrite of NFS.
--------------------------------------------------

	I do not understand what this means.  First I'm looking at the 
command-line (and module) options to set particular ports, and then 
further on the same page, it says "It is not possible to ask statd or 
the locking manager to make requests to a particular port for a 
particular mount".

	Could somebody elaborate for me?  What am I missing?  (Or is the 
section on ssh outdated?)

	Any help is greatly appreciated.

Thanks,
Derek Simkowiak



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-26  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-26  0:08 NFS + ssh (NFS HOWTO Question) Derek Simkowiak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox