In enterprise networks generally servers access is provided through a proxy server. Sometimes one has to pass through many server logins to access the required host. This note shows how to use SSH tunneling feature to forward nagios portal (HHTP) port to local system by using multiple ssh logins.
If a user has access to Nagios portal of Server D after logging in to Server A to Server B to Server C then follow the below method to have Server D portal access on local windows system
1. From windows system ssh to Server A by using Putty client
2. From Server A ssh to Server B by issuing below ssh command
ssh <Server B IP> -L 8091:localhost:8091
3. From Server B ssh to Server C by issuing below ssh command
ssh <Server C IP> -L 8091:localhost:8091
4. From Server C ssh to Server D by issuing below ssh command
ssh <Server D IP> -L 8091:localhost:80
5. Now right click on putty window select "Change Setting", Goto Connection->SSH->Tunnels dialog and mention 8091 in Source Port, localhost:8091 in Destination text boxes, click on Add
6. Now access Server D Nagios portal on local system on http://localhost:8091 url
Note: TCP port 8091 should be free on Server A, B, C and Windows system
Hi There,
ReplyDeleteJeez oh man, while I applaud for your writing , it’s just so damn straight to the point How to Access Nagios portal Via SSH Tunneling.
I am new to Mandrake og I have installed it on my HP Pavillion laptop but I cannot see anything after I choose Linus in the start screen. Could it be the Laptops screen resolution or something else.
I hope that someone can help me.
I look forward to see your next updates.
Many Thanks,
Abhiram