Running NFS with iptables, change firewall?
I need to allow a client to connect to a nfs server. If I disable iptables then NFS works great.
I understand that when NFS starts it'll fire up RPCNFSDCOUNT (/etc/default/nfs-kernel-server) processes that all are running on a different port.
How do I specify what ports those are so that they always fire up on the same port?
Presumably I need to open up 111 for UDP and TCP traffic. What about the NFS ports? 2049? UDP/TCP? The other ports?
Ubuntu-specific answers would be appreciated.