Hello all
I’d like to use my RPI as a personnal cloud most of the time at home with my personnal LAN. However I need to be able to access those files from the outside from time to time as well. The client is my professional Windows PC. Could you please recomend a configuration. I don’t know if I should run SMB + SFTP (if possible) or only SFTP or any other more convenient way. Appreciate any suggestion.
Have a nice day
Would Nextcloud be an option for the outside access?
SMB might be the easiest for Windows if you like to access the system via Explorer file manager. There a VPN like Wireguard would do the job to connect you back home.
At least I do it this way using VPN + SMB on my NAS
quite heavy solution of you just need to store files.
Thanks for yr replies,
Is there anything wrong with SFTP (Am I too old fashion)?
SFTP is also fine. I think SMB is easier than adding a network drive in Windows. Anyway, it’s always a question of how wide you want to open your network to the internet. If you use VPN, you only need to open a single VPN port, no matter how many services you have behind it. Conversely, without a VPN, you have to open the corresponding port for each service if you want to access it while travelling.
ok thanks, I try to understand how all this works together.
SFTP is surely the lightest solution, as it does not require anything else than the pre-installed SSH server, and safe as well. When using Dropbear, there is however no SFTP binary yet. It can be installed with either the openssh-sftp-server
package, or gesftpserver
, but the latter has a different executable path, which hence needs to be set on the client. In WinSCP this can be done quite easily. Else a symlink does as well:
ln -s /usr/libexec/gesftpserver /usr/lib/sftp-server
thanks, this is the option I want to try: openSSH sftp