Hi guys, I'm having problems mounting a folder via reversed SSH tunnel, the setup is as follows:
nfs server:
rpcinfo -p
Code:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 49697 status
100024 1 tcp 50859 status
100021 1 udp 56730 nlockmgr
100021 3 udp 56730 nlockmgr
100021 4 udp 56730 nlockmgr
100021 1 tcp 45374 nlockmgr
100021 3 tcp 45374 nlockmgr
100021 4 tcp 45374 nlockmgr
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100005 1 udp 57263 mountd
100005 1 tcp 52592 mountd
100005 2 udp 57263 mountd
100005 2 tcp 52592 mountd
100005 3 udp 57263 mountd
100005 3 tcp 52592 mountd
tunnel: ssh -c blowfish -R 5100:127.0.0.1:2049 -R 5200:127.0.0.1:52592 nfs_user@nfs_server_ip
exports:
/nfs 127.0.0.1(ro,sync,no_subtree_check)
showmount -e 127.0.0.1
Export list for 127.0.0.1:
/nfs 127.0.0.1
nfs client:
mount -v -t nfs -o tcp,port=5100,mountport=5200 127.0.0.1:/nfs /test
Code:
mount.nfs: timeout set for Wed May 9 22:51:41 2012
mount.nfs: trying text-based options 'tcp,port=5100,mountport=5200,vers=4,addr=127.0.0.1,clientaddr=127.0.0.1'
mount.nfs: mount(2): No such file or directory
mount.nfs: trying text-based options 'tcp,port=5100,mountport=5200,addr=127.0.0.1'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 127.0.0.1:/nfs
attribute for /nfs is 777
no firewall on both client & server
any ideas?
Thanks in advance