Based on rpcinfo -p on my nfs server:
Code:
100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100011    1   udp    981  rquotad
    100011    2   udp    981  rquotad
    100011    1   tcp    984  rquotad
    100011    2   tcp    984  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100021    1   udp   4001  nlockmgr
    100021    3   udp   4001  nlockmgr
    100021    4   udp   4001  nlockmgr
    100021    1   tcp   4001  nlockmgr
    100021    3   tcp   4001  nlockmgr
    100021    4   tcp   4001  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100005    1   udp   1011  mountd
    100005    1   tcp   1014  mountd
    100005    2   udp   1011  mountd 
    100005    2   tcp   1014  mountd
    100005    3   udp   1011  mountd
    100005    3   tcp   1014  mountd
    100024    1   udp    639  status
    100024    1   tcp    642  status

1. Do I need to open all those specified ports on the servers firewall (both tcp/udp) or is it enough to open just some of them?
2. I understand that some of those daemons can be assigned different ports each time I restart nfs. Which of them do I need to assign a port to in /etc/sysconfig/nfs?

thanks