Hi Joan,
There are many different ways of sharing files (I assume you are looking for some kind of file sharing as you are mentioning NFS) using Linux. One of the simplest ways if you want good security is to use SSH in some manner. If you choose ssh then this might be helpful:
- Dynamic IP: I would use a dynamic DNS solution like dyndns.org. I guess that you have a firewall/router of some kind. If so then it might already have DynDNS support built in, if not you can get clients for Linux as well as other OS:es that keeps your DNS record updated.
- Basic ssh security: I would recommend you to NOT use passwords (if so they should be long and complex), but instead generate a private/public keypair. Many guides are available, example:
http://e-articles.info/e/a/title/How-to-Generate-a-Key-Pair-Using-OpenSSH/[
^].
- Don't forget to open ports in firewall to allow for SSH traffic! SSH normally uses port 22, but this is configurable.
- Once
ssh
is in place, then you may use something like rsync to synchronize files (see "Using RSync Itself" in
http://everythinglinux.org/rsync/[
^]).
- Or use
scp
might be handy.
I would avoid
NFS
as security is hard to get properly (bare NFS does not encrypt traffic), and it is also a problem given dynamic dns addresses. NFS is probably better used in LAN situations.
Other options are to use:
-
rsync
daemon.
-
git
daemon (git is useful for many things :laugh:)
- HTTPS using Apache
- WebDAV
- FTP with some kind of SSL solution
- sftp
/AZ