[CentOS] mountd and statd at specific ports - nfs firewall

Fri Dec 18 22:47:45 UTC 2009
Carlos Santana <neubyr at gmail.com>

Great..! Thats helpful..

Thanks,
CS.

On Fri, Dec 18, 2009 at 4:38 PM, Christoph Neuhaus <nihil14 at gmail.com> wrote:
> Hi,
>
>> I see that statd and mountd start at random port. Is there any way to
>> force it to start at specific port each time. The '-p ' option would
>> work, but how do I configure it to start at specific port number each
>> time. I mean where do statd and mountd look for default configuration
>> options? Any clues?
>
> look into the init scripts /etc/init.d/nfs (for mountd) and
> /etc/init.d/nfslock (for statd). Both scripts source the file
> /etc/sysconfig/nfs. There you can set the variables MOUNTD_PORT and
> STATD_PORT (among others).
>
>
> Chris
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>