Socat - Reverse TCP Tunnel

We use it for port forwarding where all the TCP connections to 127.0.0.1:8080 will be redirected to port 1234.

socat TCP-LISTEN:1234,fork,reuseaddr tcp:127.0.0.1:8080 &

Last updated