Helper script to map ports to other servers.
had a database that was only accesible in the VPC on aws, so i created an dev intance and did a ssh tunnel to that dev instance with netcat mapping the port to the database
Forward all request from local 5432 to remote host google.com port 80
./nc-proxy.sh 5432 google.com 80
that worked when launched on a k8s pod, and then when I forward the port (kubectl port-forward) I'm then able to connect to a elasticache instance accessible only from the k8s cluster