Linux - NewbieThis 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
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.
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 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.
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)
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.
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!
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...
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.