I'm really lost, I thought it would be really easy to be able to safely share files that are stored on my server over the internet, so that I can access them from anywhere. But it turns out it's almost impossible! I've tried OpenVPN multiple times, Openswan and even ownCloud, but I couldn't get them to work (except for ownCloud, but I disliked it). Am I missing something? Do any of you know an easy way to share files securely over the internet?
This is what I want:
- To be able to access my files through Windows Explorer (i.e. be able to map the shared folder as a network drive in Windows)
- To be able to open the files directly, without having to download them first (as is the case with a FTP-server), so I can stream my music files
- An encrypted connection, so noboby can intercept the data I am sending to and receiving from the server
This is what I have:
- A fast internet connection (100mbit)
- A Ubuntu 12.04LTS Server
- Two laptops running Windows 7 - these are the machines that should be able to access the files on the server
This is what I've tried:
- Setting up a VPN (using OpenVPN and Openswan, using all kinds of different VPN Clients)
- 'Tunneling Samba through SSL' - although I don't really understand what this means..
- Setting up ownCloud, but that didn't allow me open the whole shared drive in Windows Explorer and I also doubt the security of it
None of these things worked, obviously.
I'm already running a Samba server which allows me to access the server's files through my LAN, but I don't think it's really secure to open the Samba server up to connections from outside the LAN, or is it?
So my question actually is: How do I make my files safely accessible through the internet? There must be an easy way to do this, as this is one of the first things you want to do once you have your own server, right?
Thanks a lot in advance, I'm looking forward to your responses! (please keep in mind that I don't have much experience with Linux networking)