What ports need to be forwarded for NFS to work?

Peter Garrett peter.garrett at optusnet.com.au
Sat Sep 8 03:13:48 UTC 2007

On Sat, 8 Sep 2007 11:53:21 +0900
"Craig Hagerman" <craighagerman at gmail.com> wrote:

> I also want to be able to mount an NFS file when I am away
> from the house. 

As I understand it, using NFS directly over the Internet is not a good
idea. Unless something has changed of which I am not aware, the security
issues are rather tricky.

You might want to look at sshfs - or alternatively, access your network
securely over ssh or using a vpn.

sshfs allows you to mount shares using the fuse kernel module ( I use it
to access remote servers, and it works rather well).

See for example:

Even easier is to use the Nautilus file manager to access your files over
ssh/sftp - you just click on "Connect to server" or type
sftp://yoururl.com and fill in the details. Konqueror does the same trick
using the fish:// protocol- just type fish://yoururl.com ( or IP address,
of course).

if you use any of those methods, you will only require port-forwarding for
ssh ( usually port 22).


Peter Garrett <peter.garrett at optusnet.com.au>

More information about the ubuntu-users mailing list