I've been searching for a while now to try and find a solution but I finally gave up. I have a ubuntu server running an nfs share. I set it up so that you have to connect to it using ssh. which is awesome. the problem is that I can connect to it from any other linux machine without issues, but this Mac is kicking my rear end. here's how I'm connecting:
making the ssh tunnel: ssh -fNv -L 3049:localhost:2049 user@ssh.server.com -p 000
Connecting to the share: sudo mount_nfs -p 3049 localhost:/path/to/share /path/to/mount/share
I get a connection refused error on the mac, howevver on my linux machine It connects perfectly fine.
Help... please?
Rpcinfo on server:
$ rpcinfo -p program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 52843 status
100024 1 tcp 33151 status
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 2 tcp 2049
100227 3 tcp 2049
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 2 udp 2049
100227 3 udp 2049
100021 1 udp 58619 nlockmgr
100021 3 udp 58619 nlockmgr
100021 4 udp 58619 nlockmgr
100021 1 tcp 59210 nlockmgr
100021 3 tcp 59210 nlockmgr
100021 4 tcp 59210 nlockmgr
100005 1 udp 41289 mountd
100005 1 tcp 53372 mountd
100005 2 udp 45436 mountd
100005 2 tcp 52048 mountd
100005 3 udp 49309 mountd
100005 3 tcp 42610 mountd