nfsv3
The ports used by NFS server can be dynamically assigned by rpbind to any higher number. We need to fix the ports used by NFS server to configure firewall or port forwarding mechanism. The ports used by NFS server and how to fix these ports will be introduced in this post.
NFS 服务器使用的端口可以通过rpbind动态分配给任何更高的端口号。 我们需要修复NFS服务器使用的端口,以配置防火墙或端口转发机制。 NFS服务器使用的端口以及如何修复这些端口将在本文中介绍。
There are seven ports need to be taken care of for NFS server.
NFS服务器需要照顾七个端口。
1. rpcbind‘s listening port
1. rpcbind的监听端口
rpcbind listens on TCP and UDP port 111. It is the default port number and it doesn’t require special configuration.
rpcbind侦听TCP和UDP端口111。这是默认端口号,不需要特殊配置。
2. nfsd‘s listening port
2. nfsd的监听端口
nfsd listens on TCP and UDP port 2049. It is also the default port number and it doesn’t require special configuration.
nfsd侦听TCP和UDP端口2049。它也是默认端口号,不需要特殊配置。
3. Fix ports for RQUOTAD_PORT, MOUNTD_PORT, LOCKD_TCPPORT, LOCKD_UDPPORT and STATD_PORT
3.修复RQUOTAD_PORT,MOUNTD_PORT,LOCKD_TCPPO