/etc/rc.d/init.d/nfs supports port "pinning" by using MOUNTD_PORT variable.
I created a patch to add this same feature to /etc/rc.d/init.d/nfslock
Variables to use with nfslock are STATD_PORT for incoming and
STATD_OUTGOING_PORT for outgoing traffic.
Using port pinning makes easy to protect nfs server by using firewall.
Created attachment 86825 [details]
patch to add port "pinning" support to nfslock script