Access LAN server from anywhere outside: what's your solution?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Access LAN server from anywhere outside: what's your solution?
Hi,
When I'm on the road and I need some file I have on my office server, I just ssh into it and then scp it over to my laptop.
Now a client has asked me for a similar setup. He wants a local file server (quite big, 10 TB capacity), and he wants to be able to access the server's data from anywhere when he's not in his office. Preferably something point-and-click.
Now I have a few possibilities in mind, but I'd be curious: what would be your favourite solution for the job?
OwnCloud? Has Windows, Mac, Android and Linux (source too) sync clients- I have the mirall and ocsync packages already in my repository.
The sync functionality allows your client to have synced copies of server and laptop data, perfect for unattended backups on the road. But perhaps that is not what he needs per se. Owncloud also offers a browser based access to all your files on the server. See http://owncloud.org/six/ for feature overview.
Also cool is that you can edit your server-based Open Office documents in a web-based editor - collaboratively edit one and the same document along with your collegues, even!
OwnCloud? Has Windows, Mac, Android and Linux (source too) sync clients- I have the mirall and ocsync packages already in my repository.
I have thought about Owncloud, but it should be installed on a public server. Which is a problem since the client has about 10 TB data. Plus, they must be able to access it from the outside even when nobody's in the office (only the PCs are running).
Or did you have a different setup in mind? Install Owncloud on the LAN server and access it from the outside (via port redirection)?
Dolphin and Konqueror can connect via ssh for point-and-click browsing: fish://remote.server.net.
The client uses Windows, Mac OS X and Linux (RHEL and Slackware) on client machines. Though I guess I could maybe use Filezilla, which handles SSH connections and has clients for all platforms.
I have thought about Owncloud, but it should be installed on a public server. Which is a problem since the client has about 10 TB data. Plus, they must be able to access it from the outside even when nobody's in the office (only the PCs are running).
Or did you have a different setup in mind? Install Owncloud on the LAN server and access it from the outside (via port redirection)?
The OwnCloud server can be inside your LAN. All it needs is that the http (better of course is https) port is reachable from the Internet - through port-forwarding.
All you need for web browser file access, just like the sync client, is an URL. No additional ports have to be opened in the firewall. The sync client can use any proxy your client computer is using.
The client uses Windows, Mac OS X and Linux (RHEL and Slackware) on client machines. Though I guess I could maybe use Filezilla, which handles SSH connections and has clients for all platforms.
I strongly agree with the other member who recommended OpenVPN. Fast, stable, and secure. Once you have your connection you have the whole LAN at your disposal - printers, PCs, and everything else. You can VNC, RDP, SSH, SMB in to the local subnet as if you were there. You can also browse the Net through your LAN with peace of mind - from an airport or hotel, for example. And all that is required is to set up OpenVPN, open one UDP port on your firewall and route all traffic, not just SSH traffic, through the VPN. Dead easy.
I use SSH forwarding sometimes but OpenVPN is so much better if you want the whole LAN and its resources available. I also tend to stay away from solutions which require some kind of man-in-the-middle third party. With OpenVPN you create your own keys, 4096-bit if you want, and you can be sure there will never be any man-in-the-middle snooping.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.