I've been trying to find the definitive answer to this question, but I'm getting conflicting results due to various NFS versions out there.
I've configured NFSv4 by following https://help.ubuntu.com/community/NFSv4Howto and currently have the following services running on my machine:
- rpc.mountd
- rpcbind
- nfsd
- lockd
Which of these are required to run an NFS server in v4 only? How do I disable the rest? Consequently, which ports should I open on my firewall?
PS: I'm on Ubuntu 18.04