[Gllug] NFS across firewall
Mark Hazell
nutts at penguinmail.com
Sun Jun 8 22:57:20 UTC 2003
On Sun, 8 Jun 2003 18:37:56 +0100 Richard typed:
> I have two boxen plugged-into a combo ADSL/switch. Since they're
> essentially both plugged-into the Net (albeit with NAT done by the
> router) they both run firewalls, but I'd like to be able to use NFS to
> access one's files from the other (only one of them has a monitor).
>
> Can anyone tell me which ports I need to open? Simply opening 111 and
> 2049 for TCP and UDP doesn't seem to do the trick (I get 'mount: RPC:
> Timed out'), but I know that the rest of my set-up is OK because if I
> bring down the firewalls entirely then I can mount the exports.
If you are using a modern kernel, there is an option in the File
Systems/Network Filesystems section for NFS over TCP support. You could
try enabling that and setting up an SSH tunnel between the machines to
tunnel NFS
over, then you only have to open one port on each machine.
Officially it's still marked 'experimental', but either Linux Journal or
Linux Magazine had an article a few months back on setting this up, and
they seemed to think it was a good thing.
Cheers,
Mark.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list