from dhelios.blogspot.com
on server side, add following lines in /etc/exports
/myshare 127.0.0.1(rw,fsid=0,insecure,no_subtree_check,sync)
# exportfs -rv
exporting nfs-server.labs.localnet:/myshare
on client
ssh -c blowfish -L 3333:127.0.0.1:2049 nfs-server.labs.localnet
mount -t nfs4 -o
rw,hard,intr,proto=tcp,port=3333 127.0.0.1:/myshare /mnt/nfs
Comments
Post a Comment