Hi,
I am configuring firewall for NFS. 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?
- CS.
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
Great..! Thats helpful..
Thanks, CS.
On Fri, Dec 18, 2009 at 4:38 PM, Christoph Neuhaus nihil14@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@centos.org http://lists.centos.org/mailman/listinfo/centos