SSH Tunneling for Munin
Posted
by
Dennis Wisnia
on Server Fault
See other posts from Server Fault
or by Dennis Wisnia
Published on 2012-04-15T10:08:27Z
Indexed on
2012/04/15
11:33 UTC
Read the original article
Hit count: 259
I had at home an NAS and in the datacenter a Server. I make an SSH Tunnel with the following command:
autossh -fN -M20404 -R 1337:localhost:22 user@server
(from the nas to the server) Its working and I can access the NAS. Now, I want access the munin-node, also I make a new tunnel from the server to the nas:
ssh -N -R 49499:localhost:4949 localhost -p 1337
but if I make an nmap localhost -p 49499 the port is closed and i cant access the munin-node.
I don't know why and I am very happy about your help.
© Server Fault or respective owner