I have a legacy application listening on port 5050 bound to localhost interface (i.e. 127.0.0.1). This app runs on a Linux box (an embedded system). I have an app, lets call it App C that runs on PC and would like to connect to it. But can't as legacy app doesn't accept connections from outside the box. I don't have the option of changing legacy app source code.
Is there a way to run something like ssh to listen on port 7070 on embedded box and forward incoming traffic to port 5050? I know ssh allows that. But it expects ssl type connections from outside. I am wondering if it can be launched just to do port forwarding without any kind of ssl tunnel stuff. Something like SOCKS proxy.
Feel free to suggest other tools if you know one that does the job.