Act as proxy and forward data from a local TCP port to the given remote host

nc

nc -l {{local_port}} | nc {{hostname}} {{remote_port}}

click the source code to copy install nc on any operating system with command-not-found.com