LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remote Access (https://www.linuxquestions.org/questions/linux-newbie-8/remote-access-707953/)

arul_redhat 02-27-2009 05:35 AM

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.

ddaemonunics 02-27-2009 06:44 AM

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...

kirukan 02-27-2009 07:19 AM

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)

palisetty_suman 02-27-2009 10:43 AM

Hi
 
Hi,

I guess you can use putty for that. All The Best.

rsciw 02-27-2009 10:55 AM

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.

john test 02-28-2009 08:11 AM

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!

cloud9repo 02-28-2009 01:42 PM

Quote:

Originally Posted by arul_redhat (Post 3459239)
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...

john test 03-01-2009 09:18 AM

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.

cloud9repo 03-01-2009 11:35 AM

Quote:

Originally Posted by john test (Post 3461340)
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...


All times are GMT -5. The time now is 01:35 AM.