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/services

lockd           4045/udp                        # NFS lock daemon/manager
lockd           4045/tcp

the rpcbind will use everytime port 4045 for lockd?

Jozef

Tom Haynes wrote:
> 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 have not succeeded. Can you guys push me into the right 
>> direction?
>>
>> Thank you,
>>
>> Jozef Hamar
>> _______________________________________________
>> nfs-discuss mailing list
>> nfs-discuss at opensolaris.org
>
>
> Jozef,
>
> services(4) will allow you to configure this.
>
> Tom

Reply via email to