I found inconsistency about the port numbers for nfsd, lockd, mountd.
I am using centos and try setup manually.
Here is the statment:
SharedV4 volumes communicate over the following ports:
- portmapper: 111 (default on all linux distributions)
- nfs service: 2049 (default on all linux distributions)
- mountd: 20048 (depends on the linux distribution)
But in centos config, it uses mountd port is 9025
later on it mentioned port 9023 for nfs:
/etc/systemd/system/nfs-server.service in a text editor and, under the
[Service] section, add the
--port 9023 value to the
While 9023 is used as lockd port.
And in the statement above, it nfs needs to use port 2049.
I really appreciate to have a diagram with port numbering per service.
Also update iptables rules correctly, if needed.