Can I tunnel NFS traffic through SSH channel in Solaris or FreeBSD?
There is some instructions for Linux-based OS's:
1. find "nfsd" and "mountd" ports, running on 'nfsserver' (for example -2049,945)
2. make 2 ssh-channels on client hosts:
# ssh -fN2 -L 3049:nfsserver:2049 nfsserver
...: <entering password>
# ssh -fN2 -L 3945:nfsserver:945 nfsserver
...: <entering password>
3.
# mount -t nfs -o tcp,port=3049,mountport=3945 nfsserver:/export/home /mnt/sshmount
...It's all.
So it is possible to do 1,2 steps... but there is no 'mountport' option in 'mount' or 'mount_nfs' commands.
Is it possible to make the familiar things in order to tunnel NFS through SSH channel in Solaris or FreeBSD?