LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-10-2007, 07:32 PM   #1
sholah
Member
 
Registered: Dec 2006
Posts: 34

Rep: Reputation: 15
Accessing a private LAN from another private LAN


Hi everyone,

I have a bit of a problem and goes thus:

There is this company with 4 different branch offices all having their private LANS. There are application servers located on the private LAN of the Headquarters that the other branch offices need to access on a daily bases but this is however proving difficult.

This company wants a situation whereby a user on the private LAN of one of the branch offices can have access to all the appication servers located on the private LAN of the Head office.

Of course, the various offices have an internet gateway EACH i.e one system that is connected to the internet and acts as a gateway to the various private LANS.

I would like ur suggestions.However, proposed solutions should be based on linux.VPN may be out of the question.

Thanks in anticipation of a favorable response.

Last edited by sholah; 07-10-2007 at 07:34 PM.
 
Old 07-10-2007, 07:49 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
The easiest way to run an application remotely may be to forward a port for ssh and run an application remotely using "ssh -X username@ip_address command".

You can even create a link on the desktop for the application. Edit the properties, by prepending "ssh username@server " to the command. Then when the user clicks on the icon, a password dialog will pop up for the password. After that the program will run, but be displayed on the users local screen.

Last edited by jschiwal; 07-10-2007 at 07:51 PM.
 
Old 07-10-2007, 07:52 PM   #3
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
so if you're in a linux-only environment teach your users ssh ;-)

openvpn might be a possible solution as well. the gateways could run an openvpn tunnel between the subnets using private ip numbers. www.openvpn.org has quite extensive howtos and faqs.
 
Old 07-10-2007, 09:17 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
Using vpn would be the most general and probably best solution.

If you use ssh, for windows users, you can do with putty whatever you can do with an ssh client in Linux. Ssh is great at getting instant access to files or applications on another server. For example, using sftp is handy if you don't have a host isn't configured with samba or nfs, or if you need to access a directory that isn't shared.

How are applications started if you are on the same lan? Are the other hosts thin clients? If they are started using rsh, then ssh is what you would want to do the same thing securely.

Last edited by jschiwal; 07-10-2007 at 09:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Private LAN accessing the Internet - Using route, how do I use it? sbabcock23 Linux - Networking 2 05-19-2007 04:21 PM
2 machines having same private IP in a LAN? koyi Linux - Networking 1 01-07-2007 08:55 PM
MX record for private LAN? hoover93 Linux - Server 3 09-14-2006 10:15 AM
static ip in a private lan master Linux - Networking 12 02-19-2006 11:39 PM
Route a private LAN with 1 NIC freelinuxcpp Linux - Networking 4 11-01-2003 06:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:48 PM.

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