I've been working on getting NFS working here and followed this thread (the one I'm posting in) and this
HOWTO for NFS and firewall.
I travel quite a bit and would find it useful to access my home computer through NFS. I have been able to set up NFS and in my private net (192.168.x.x) it works well.
Going off my net (using a neighbor's), I've been unable to get through to the server. Thinking it was the firewall, I opened up 111, and 2049 as well as added 4000-4002 per the above-mentioned HOWTO.
It looks like I'm getting through, but the server is not accepting the connection. So, looking at my /etc/exports file:
Code:
/work palmtree(rw,no_root_squash,async,no_subtree_check)
and doing some further digging, I'm finding that my host name is not a good way to discriminate in the /etc/exports file. Depending on which network to which I am connected, my host name changes.
So (finally!) getting to the question. Is the following exports line the best way for me to open the NFS door so I can access my computer from literally anywhere? Note: I do have a dynamic IP (it changes about every 3 to 5 days), but the obscurity doesn't really make me feel secure. Is there a better way?
Code:
/work (rw,no_root_squash,async,no_subtree_check)
For statistics: Ubuntu/9.04
Bookmarks