LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-06-2014, 03:33 PM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
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?

Cheers,

Niki
 
Old 01-06-2014, 03:43 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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!

Eric
 
1 members found this post helpful.
Old 01-06-2014, 04:39 PM   #3
bosth
Member
 
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
Dolphin and Konqueror can connect via ssh for point-and-click browsing: fish://remote.server.net.
 
1 members found this post helpful.
Old 01-06-2014, 11:44 PM   #4
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by Alien Bob View Post
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)?
 
Old 01-06-2014, 11:46 PM   #5
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by bosth View Post
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.
 
Old 01-07-2014, 12:39 AM   #6
nickmh
Member
 
Registered: Apr 2012
Distribution: xUbuntu
Posts: 42

Rep: Reputation: Disabled
sFTP ?
 
1 members found this post helpful.
Old 01-07-2014, 02:17 AM   #7
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Maybe OpenVPN and then use the usual lan services like samba, nfs...
 
1 members found this post helpful.
Old 01-07-2014, 02:48 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by kikinovak View Post
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.

Eric
 
1 members found this post helpful.
Old 01-07-2014, 05:40 AM   #9
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by kikinovak View Post
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Access server from outside LAN via SSH gacanepa Linux - Networking 7 07-19-2012 09:49 AM
when i connect server i have to access entire lan network of server saravanakumar Linux - Networking 2 07-29-2011 01:03 AM
How to access a web server in LAN karthickannamalai Linux - Newbie 4 06-12-2008 12:31 PM
cannot access web server from LAN puding Linux - Newbie 11 09-07-2004 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration