LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2009, 05:35 AM   #1
arul_redhat
LQ Newbie
 
Registered: Feb 2009
Location: Coimbatore
Posts: 5

Rep: Reputation: 0
Question Remote Access


In My office we are using private ip which is 192.168.1.X. We are having broad band connection which is Public ip.

I want to monitor my office system while i would be in my home.
Could you please anyone help me to do.How to configure linux remote monitoring. The operating system is Redhat El-5.

If possible tel me step by step process.

Thanks in advance.
 
Old 02-27-2009, 06:44 AM   #2
ddaemonunics
Member
 
Registered: May 2008
Location: Romania
Distribution: Debian
Posts: 242

Rep: Reputation: 41
If you don't like using ssh to run monitoring commands remotely
Install monit..configure...it has a built in http server...forward the port from the router to you box...acces the built in http server from outside...

Last edited by ddaemonunics; 02-27-2009 at 06:54 AM.
 
Old 02-27-2009, 07:19 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
NAT your local server ip with public ip then you can easly ssh to the server from remote area. configure the NAT on your broadband router(check there should be some options to configure NAT)
 
Old 02-27-2009, 10:43 AM   #4
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Hi

Hi,

I guess you can use putty for that. All The Best.
 
Old 02-27-2009, 10:55 AM   #5
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
putty only if it's from a windows machine, or? (or mobile phone where putty mobile is available for, such as the N95 )
otherwise just use a terminal *shrug*

of course make sure ports are forwarded to correct machine (if router || more machines)
I reckon in most cases it should be enough tailing auth.log, at least if you want to check
if anyone's trying to login somewhere to your box.
 
Old 02-28-2009, 08:11 AM   #6
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
In order to elicit responses that are somewhat more "On Target", you need to define the "Target"
1. What do you want to monitor? (Define Monitor)
A. Do you want to Administer your network Remotely?
B. Do you just want to Keep track of User Activity remotely?
2. What Operating System do you have at Home?
3. What Hardware are you using for access to the intenet at the office? (Router Make Model)

If all you want to do is monitor some process or keep track of User activity, then write a script to monitor that function and send you an email based on the parameter of interest.

If you want to do remote administration, you need to run SSH (Secure Shell) (puTTY if you are running Windows at home) and then configure the firewalls and NAT tables in the office router to allow SSH to the Office Router.

Of coursse you need to make sure that you don't compromise the Security of Company Data in the process.
So then, Step by Step
1 Define Monitoring Requirement
2. Define Security parameters and Risks
3. Install SSH on Home Machine
4. Configure Home Router for SSH
5. Configure Office router for NAT (Network Addresss Translation)
6. Configure IPTABLES on the Linux Box
7. Initiate the SSH Daemon on the linux Box

Understand, this is just my Newbie view of what you need to do.
Good Luck with it!
 
Old 02-28-2009, 01:42 PM   #7
cloud9repo
Member
 
Registered: Oct 2008
Location: Middle TN
Posts: 134

Rep: Reputation: 19
Quote:
Originally Posted by arul_redhat View Post
In My office we are using private ip which is 192.168.1.X. We are having broad band connection which is Public ip.

I want to monitor my office system while i would be in my home.
Could you please anyone help me to do.How to configure linux remote monitoring. The operating system is Redhat El-5.

If possible tel me step by step process.

Thanks in advance.
Live or delayed report?
If live, then I'd suggest remote access, and just log into the network. Duh?

If emailed reports are desired, then netstat has a sister prog, several in fact, that will allow you to configure monitoring reports to be delivered to your in box.

If sharing a connection with the "Public", ask one of them that's nearby...
 
Old 03-01-2009, 09:18 AM   #8
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
You either need to write a script to monitor the parameters you are interested in and automate the sending of the resultant report to your email addresss;
or
Set up a VPN so that you can log in to your office network as though you were onsite.

You could google "vpn setup linux" for step by step instructions for setting up a VPN server.
Googling "vpn setup" will pull up articles on how to setup the remote system to access the VPN server that you set up on the office Network.

Last edited by john test; 03-01-2009 at 09:25 AM.
 
Old 03-01-2009, 11:35 AM   #9
cloud9repo
Member
 
Registered: Oct 2008
Location: Middle TN
Posts: 134

Rep: Reputation: 19
Quote:
Originally Posted by john test View Post
You either need to write a script to monitor the parameters you are interested in and automate the sending of the resultant report to your email addresss;
or
Set up a VPN so that you can log in to your office network as though you were onsite.

You could google "vpn setup linux" for step by step instructions for setting up a VPN server.
Googling "vpn setup" will pull up articles on how to setup the remote system to access the VPN server that you set up on the office Network.
But with Virtual __Private__ network, no longer is it public. In which case, you gotta' 'charge' more...
 
  


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] Disable remote root access but allow local root access-- possible? bskrakes Linux - Security 4 02-21-2019 04:02 PM
remote access binary_dreamer Debian 1 11-23-2006 07:32 AM
Remote Access hkillen Linux - Networking 2 09-20-2006 02:56 PM
Remote access - NX? Sugarat Slackware 1 09-06-2006 12:17 PM
Remote Access Alfie67 Linux - Newbie 6 04-27-2005 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 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