For the complete documentation index, see llms.txt. This page is also available as Markdown.

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