Skip to content

Sockets

1 page
  • socat: Forwarding Unix Sockets Over TCP

    In Posts 756 words 4 min

    LinuxNetworkingSocketsDevops

    Sometimes you need to reach a Unix socket from a host where that socket doesn’t physically exist. SSH tunnels won’t help — they only work with TCP ports. socat solves this: it opens a TCP listener and forwards connections to a Unix socket, and the …

    Sometimes you need to reach a Unix socket from a host where that socket doesn’t physically exist. SSH tunnels won’t help — they only work with TCP ports. socat solves this: it opens a TCP listener and forwards connections to a Unix socket, and the …