socat tcp-listen:4141,fork,reuseaddr tcp-connect:$IP:3389 &

Relay TCP between two endpoints for port forwarding, spoofed source ports, and full tty shells

Command: Linux

References:

https://www.kali.org/tools/socat/