I'm working with a setup of about 8 Linux servers running Fedora Server 41, and I'm trying to figure out the best way to share users' home directories across all of them. My goal is to have a shared filesystem that allows users to access the same files in real-time, regardless of which server they log into. I've considered using NFS, but I'm concerned about its lack of built-in encryption and authentication. I want to ensure that files are encrypted during network transfer to prevent unauthorized access from anyone on the local network. While we've looked into Ceph, it seems a bit excessive for our needs. Can anyone suggest a suitable tool or approach that supports both encryption and authentication for this shared filesystem?
4 Answers
You could consider NFS over WireGuard or using stunnel. This would allow you to encrypt the NFS traffic during transmission. Combining that with autofs for mounting and sssd for authentication via LDAP could work well for your setup.
If you're on Windows, something like BitLocker with SMB sharing combined with DFS Namespace could work well for your setup. For Linux, if you go with NFS, ensure that your traffic is isolated on a VLAN for additional security.
To better help you, could you clarify what your business or audit requirements are? Are all your servers Linux-based? When you mention sharing home directories, are you looking for real-time access rather than just a synchronization setup? Also, what level of encryption are you aiming for – at rest or in transit? And regarding authentication, what methods are you considering: usernames and passwords, keys, or something like SAML? Understanding all these details will help in recommending the right solution.
NFS version 4 does provide stronger user authentication, but you will need to set up Kerberos. Another option you might explore is using Samba, which could align with your needs too.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures