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.