multiple tunnels to a single link

I currently use ssh port forwarding, to tunnel to my nova devices, where I have my own server receiving GET’s and POSTs. Works great!!

I would like to know if I can have multiple ports forwarded to a device that is tunneling?

Seems like you could use port forwarding to a link

ssh -p 999 -L 5000:link123123:50000 -N …
ssh -p 999 -L 5002:link123123:50010 -N …

Is there any reason that would not work?

Then accessing local port 5000 would send get an post requests to port 50000 and access to local port 5002 would send get and post requests to port 50010

Thank you

I have been doing this in my environment, one link for ssh and one link for http requests…it works but I have not been doing it long enough to realize if there is any downside.

This topic was automatically closed after 30 days. New replies are no longer allowed.