(Mi preferencia) binario portable: https://github.com/andrew-d/static-binaries/blob/master/binaries/linux/x86_64/socat

portable: https://github.com/3ndG4me/socat/releases

instalar: sudo apt-get -y install socat

Socat (for SOcket CAT) establishes two bidirectional byte streams and transfers data between them. Data channels may be files, pipes, devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking, logging and tracing, different modes for interprocess communication and many more options