[nfs-discuss] How to make rpcbind to bind services to predefined ports

2009-10-29 Thread Jozef Hamar
Hello Tom (or anyone else), finaly found time to try this. I can confirm, that I can bind at least nfsd to specified port using /etc/services. Nevertheless, mounting the nfs directory from remote client (FreeBSD) fails if I enable only rpc, nfsd, statd and lockd in ipfilter. Analyzing the IP c

[nfs-discuss] How to make rpcbind to bind services to predefined ports

2009-09-28 Thread Jozef Hamar
Hello Tom, are you suggesting, that rpcbind will look in the /etc/servicec and, if found, it will use the port number found there? The random port number will be used only, and only if the requested service is not found in the /etc/services. For example, if I have this two lines in /etc/servic

[nfs-discuss] How to make rpcbind to bind services to predefined ports

2009-09-28 Thread Tom Haynes
Jozef Hamar wrote: > Hello Tom, > > are you suggesting, that rpcbind will look in the /etc/servicec and, > if found, it will use the port number found there? The random port > number will be used only, and only if the requested service is not > found in the /etc/services. Yes, we do something v

[nfs-discuss] How to make rpcbind to bind services to predefined ports

2009-09-28 Thread Jozef Hamar
Hi all, As a newbie to Solaris, I am trying to make rpcbind to bind specific services (e.g. nfs, lockd and statd) to specific ports due to firewalling. Something similar can be achieved in FreeBSD with rpc_lockd_flags="-p custom_port" in rc.conf. So far, I have not succeeded. Can you guys push

[nfs-discuss] How to make rpcbind to bind services to predefined ports

2009-09-28 Thread Tom Haynes
Jozef Hamar wrote: > Hi all, > > As a newbie to Solaris, I am trying to make rpcbind to bind specific > services (e.g. nfs, lockd and statd) to specific ports due to > firewalling. > Something similar can be achieved in FreeBSD with rpc_lockd_flags="-p > custom_port" in rc.conf. > > So far, I ha