I have a simple python channel ( socket on Asyncio Streams
) and client-server software that uses several TCP ports for connection. Is it possible to forward this connection through this socket channel so that the software does not notice it?
I have a simple python channel ( socket on Asyncio Streams
) and client-server software that uses several TCP ports for connection. Is it possible to forward this connection through this socket channel so that the software does not notice it?
1 Answer
Reset to default 0Agree with the comment above, multiplexing is necessary to forward multiple TCP connections over a single socket stream. Additionally we can try using existing protocols like SSH-style multiplexing SOCKS5 or QUIC-based tunneling to avoid reinventing the wheel.. a TUN/TAP interface could be an option as well.