All of lore.kernel.org
 help / color / mirror / Atom feed
* mountd through a firewall?
@ 2003-02-19 22:56 Robert Rati
  2003-02-20 14:10 ` Ion Badulescu
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Rati @ 2003-02-19 22:56 UTC (permalink / raw)
  To: nfs

I post this question a few days ago, but go no response.  I hope someone 
on the list can help with this issue or point me in another direction.

When I start rpc.mountd, I notice that it always registers 4 ports with 
portmapper.  2 TCP and 2 UDP, which corespond to two separate instances 
of mountd.  When I run exportfs, I see that no file systems are being 
exported.  If I export a file system, the only difference is exportfs 
shows a file system being exported.  This will obviously cause a problem 
if I try to specify a port for rpc.mountd to run on as both instances of 
mountd try to use the same port and the tcp bind for the second instance 
fails.  Why does rpc.mountd start two instances of mountd?

This issue comes from trying to allow an NFS export through a firewall. 
  Since mountd uses different ports each time it starts, it's nearly 
impossible to pass it through a firewall.  Does anyone have an alternate 
solution to this problem besides telling rpc.mountd to run on a 
specified port (as that isn't working as detailed above).  I'm stuck 
using kernel 2.2.17, so I've been unable to check out the nfs-utils 
ability to handle specifying a port for mountd.

Rob



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-02-20 21:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-19 22:56 mountd through a firewall? Robert Rati
2003-02-20 14:10 ` Ion Badulescu
2003-02-20 16:36   ` Robert Rati
2003-02-20 17:10     ` Ion Badulescu
2003-02-20 17:27       ` Robert Rati
2003-02-20 17:35         ` Ion Badulescu
2003-02-20 17:48           ` Robert Rati
2003-02-20 18:22             ` Ion Badulescu
2003-02-20 21:27               ` Robert Rati

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.