
Jason White <jason@jasonjgw.net> writes:
Morrie Wyatt <morrie@morrie.id.au> wrote:
You can tie down the port range to suit your requirements.
NFSv4 can run over a TCP connection instead of UDP, if you prefer.
So can NFSv3 and, I think, NFSv2. I *think* it's even the default under Linux. These might help (the assignments are arbitrary): # Make NFS use static ports echo 'STATDOPTS="--port 32765 --outgoing-port 32766"' >>/etc/default/nfs-common echo 'RPCMOUNTDOPTS="-p 32767"' >> /etc/default/nfs-kernel-server echo 'RPCRQUOTADOPTS="-p 32769"' >> /etc/default/quota echo 'options lockd nlm_udpport=32768 nlm_tcpport=32768' >>/etc/modprobe.d/options.conf As at Debian 7 I must also explicitly pass -o nfsvers=3 to mount on the client side, or it spends ten seconds trying to initialize gss.