tcptunnel

TCP port forwarder that redirects traffic between ports and hosts

brewmacoslinux
Try with needOr install directly
Source

About

TCP port forwarder

Commands

tcptunnel

Examples

Forward local port 8080 to remote host on port 80$ tcptunnel --local-port=8080 --remote-host=example.com --remote-port=80
Forward localhost:3306 to database server on port 3306$ tcptunnel --local-port=3306 --remote-host=db.example.com --remote-port=3306
Bind to specific interface and forward traffic$ tcptunnel --local-port=9000 --local-host=127.0.0.1 --remote-host=internal-server --remote-port=9000