What is the best tools to use to mount an encrypted volume stored on a remote server? The encryption/decryption should be done on the client side.

I think about first using NFS to mount a remote filesystem, and then place a truecrypt volume/file on the NFS-mount.

I will then use rsync to copy local files to the encrypted volume.

What tools seams best to use?

1 Answer 1


Sounds like you are administrator on the machine that should export those files?

Depending on the things you are frighten you have different possibilities to encrypt your data:

Hide from other people w/o administration permission:
Encrypt the drive itself with e.g. TrueCrypt or dmcrypt or something like that, mount it to the machine and export the decrypted content. Other users, even the police if they confiscate the machine, are not able to read the data. Just make sure there is no other administrator you don't trust. This administrator is able to read the mounted content..

Hide also from other administrators:
If you mount the encrypted content it is of course decrypted and other administrators might take a look at it. As you mentioned you can store a big file on it with encrypted content and serve this file to your client. That will work, but it's a lousy solution.
A better solution might be to decrypt the encrypted device on your client. The problem is, that you need access to the whole block device to decrypt the data. I recommend to take a look at iSCSI. The standard will help you with this issue ;-)

  • I'm administrator on both machines. On the client I'm the only admin (at home) on the remote machine their is other admins (at work). So it's the second solution I'm looking for, and I agree it's a lousy solution, that's why I asked here. I haven't worked with iSCSI before, thanks for the hint I will have a look.
    – Arlukin
    Jun 24, 2011 at 19:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .