What ports need to be forwarded for NFS to work?
dvincent at sleepdeprived.ca
Sat Sep 8 03:45:58 UTC 2007
Craig Hagerman wrote:
> I am tearing my hair out trying to get port-forwarding to work with
> NFS (Network File System). I am running Ubuntu Feisty at home as a
> media server. On my local network I can mount a NFS file no problem by
> specifying the local address (10.0.1.101/media/Music for example).
> However, I also want to be able to mount an NFS file when I am away
> from the house. I have set up port forwarding on my router no problem
> for other services (ssh, apache, etc), but can't get NFS to work from
> outside. I have read that NFS uses port 2049 and confirmed that my
> system is indeed using that port for NFS. I can't find any information
> on what other ports need to be forwarded. Do I need to forward ports
> for mountd or something else? If so, what other services and what are
> the ports?
It is possible that your ISP is blocking those ports making it
impossible for you to get it working even if you have the config setup
But as others have already said - don't do this, look at setting up a
VPN (OpenVPN!) to encrypt your traffic or use sshfs.
More information about the ubuntu-users