
Ubuntu 20.04, with IPTables firewall.
Permito explícitamente puertos NFS dentro y fuera de los servidores. regreso (Se permiten sesiones relacionadas o establecidas)
He configurado puertos explícitamente en /etc/sysctl.conf para todos los servidores: fs.nfs.nlm_udpport=38073
fs.nfs.nlm_tcpport=38747
33333 configurado en el servidor kernel nfs
Los puertos 111,1110,2949,33333,4045,38073, 38747 están todos abiertos en el firewall de entrada y salida.
Cuando pruebo una montura, me sale esto:
mount.nfs: timeout set for Fri Sep 15 17:25:35 2023
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.30.150,clientaddr=192.168.10.125'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.30.150'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.30.150 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: portmap query failed: RPC: Unable to send - Operation not permitted
mount.nfs: Operation not permitted
Sin embargo, el mismo montaje en FSTAB se monta bien (durante el reinicio)
==== Editar =======
sin embargo... Si lavo IPTABLES, funciona... con el mismo mensaje "no existe tal"
mount.nfs: timeout set for Sat Sep 16 12:47:04 2023
mount.nfs: trying text-based options
vers=4.2,addr=192.168.30.150,clientaddr=192.168.10.125'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'addr=192.168.30.150'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.30.150 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: portmap query retrying: RPC: Timed out
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.30.150 prog 100005 vers 3 prot TCP port 33333