...
On the NFS server, find the mountd port being used
Code Block rpcinfo -p | grep mountd | grep tcp | grep " 1 " | awk '{print $4}'
On the client, establish the tunnels. Replace mountd_port with what was found in step 1. Establish the mounts.
Code Block ssh -fNv -L 6000:nfs_server:2049 -L 6001:nfs_server:mountd_port user@nfs_server
...
Code Block mount -t nfs -o port=6000,mountport=6001,tcp localhost:/nfs_share mountpoint
Info |
---|
Related articles
Content by Label | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|