Changes

Jump to navigation Jump to search
Created page with "==== used OS-Debian ==== On Server: * sshd installed * nfs-kernel-server package installed * rpcbind installed at /etc/exports set: <pre> /usbdrive localhost(rw,as..."
==== used OS-Debian ====

On Server:

* sshd installed
* nfs-kernel-server package installed
* rpcbind installed
at /etc/exports set:
<pre>
/usbdrive localhost(rw,async,no_root_squash,no_subtree_check,crossmnt,insecure)
</pre>
* insecure allow usage over localhost!

On Client:
* ssh client installed
* nfs-common Metapackage installed
Open 2 Terminals / Consoles, DO NOT send to BACKGROUND! cause that you can disconnect by STRG+C fast!
Enter now
on Terminal 1:
<pre>
ssh -L 3049:localhost:2049 USER@SERVERIP
</pre>
on Terminal 2
<pre>
sudo mount -t nfs localhost:/usbdrive /mnt -o port=3049,proto=tcp,soft,nosharecache
</pre>
Port is internal redirected from 2049 (nfsd) to 3049 at localhost! nosharecache is helping against freezes, soft helps against freezes at lookups of slow Networks

Advantage? No public external NFS Shares, all transfer is ENCRYPTED! May somtimes slow but very secure!

Navigation menu