SUMMARY: static port for mountd

From: Bernhard Sadlowski (sadlowsk@mathematik.uni-bielefeld.de)
Date: Thu May 06 2004 - 13:25:04 EDT


Thanks go to Jonathan Voigt and Matt Clausen. They both pointed out that
this is not possible in Solaris yet. Matt said that Solaris 10 will be
able to do it though.

Jonathan Voigt writes:
You can't change mountd port for solaris - Only Linux.
Normally you don't do any RPC services through a FW...
You'd have to open a range of ports on FW to mount from a Solaris box.
Only Linux gives you the option of specifying a port for mountd to use.

Matt Clausen writes:
Upgrade to Solaris10 when it comes out. Sun is fixing this problem in
that version of the OS, but no solution as far as I know exists at this
moment (except maybe a non-Sun compiled version of nfsd/mountd but I
haven't looked into that possibility)

The original mail:

> We want to mount a solaris NFS share on a Linux Server in a DMZ.
>
> Using "rpcinfo" I see that the mountd hast different non-static ports on
> the different Solaris machines "sun1" and "sun2":
>
> # rpcinfo -p sun1 | grep -i mountd
> 100005 1 udp 32787 mountd
> 100005 2 udp 32787 mountd
> 100005 3 udp 32787 mountd
> 100005 1 tcp 32779 mountd
> 100005 2 tcp 32779 mountd
> 100005 3 tcp 32779 mountd
>
> # rpcinfo -p sun2 | grep -i mountd
> 100005 1 udp 32788 mountd
> 100005 2 udp 32788 mountd
> 100005 3 udp 32788 mountd
> 100005 1 tcp 32819 mountd
> 100005 2 tcp 32819 mountd
> 100005 3 tcp 32819 mountd
>
> If we use a Linux NFS server we can use a static port for "mountd", if
> rpc.mountd ist startet with "-p port" (i.e. -p 32770). This option
> doesn't seem to be available for the Solaris mountd. I didn't find any
> solution by using google, but it is an urgent production problem for us.
>
> What is necessary to get mountd from to to listen on a static port?

Bernhard
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:37 EDT