Interested in the next question related to Port-Forwarding, namely with Proxy Forwarding. At the moment, I have 2 applications available:

  • Server - (opens 2 ports) 1 port for listening, 2 port for outgoing connection, to take and send data back.
  • Client is a small console program that makes an outgoing connection to one of the ports on the server (reading and sending data back to the server)

These applications run under Windows, I would like to use the mind to implement it on Debain for example. I really hope that if there are ready-made solutions (applications) or something like that, to implement the same Серверного приложения that will do the following:

Receive data on port 1, then transfer it to port 2, and then wait for data on port 2 and return to port 1.

I would be grateful for any useful information. Thank!

    0