I am following this manual on how to mount an nfs port over an ssh tunnel: https://blogs.oracle.com/shepler/entry/tunneling_nfs_traffic_via_ssh
I need this because I want to mount an nfs partition from a machine that is behind a router with no static IP.
However, when I try and issue the mount command I get:
mount -t nfs -o nfsvers='4,tcp' -o port=3049 127.0.0.1:/mnt/shared /mnt/aaa -v mount.nfs: timeout set for Mon Mar 16 18:49:14 2015 mount.nfs: trying text-based options 'nfsvers=4,tcp,port=3049,addr=127.0.0.1,clientaddr=127.0.0.1' mount.nfs: mount(2): Operation not permitted mount.nfs: Operation not permitted
What is causing this?
The NFS client mounts fine on the machine I am ssing to, and it not mounted when I issue the port forwarding.
Getting the same error on Debian and Ubuntu.