User Tools

Site Tools


Sidebar

Writing /opt/bitnami/dokuwiki/data/meta/git/delete-tag.meta failed
Unable to save metadata file. Hint: disk full; file permissions; safe_mode setting.

Go Back

Contact
Recent Changes
Sitemap
snippets:socat

socat commands

TCP to Unix Socket

socat -d -d -d UNIX-LISTEN:${SOCK},reuseaddr,fork TCP:${UPSTREAM_HOST}:${UPSTREAM_PORT}

TCP to TCP

socat -d -d -d TCP-LISTEN:${PORT},reuseaddr,fork TCP:${UPSTREAM_HOST}:${UPSTREAM_PORT}

Unix Socket to TCP

socat -d -d -d TCP-LISTEN:${PORT},reuseaddr,fork UNIX-CLIENT:${UPSTREAM_SOCK}
snippets/socat.txt · Last modified: 2020/08/31 06:48 by whtsky