multiple tunnels to a single link


#1

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