Skip to content

Instantly share code, notes, and snippets.

@joec4i
Created July 17, 2021 01:31
Show Gist options
  • Save joec4i/0bdb3c7ca45a6acc6194153d3c14cbdc to your computer and use it in GitHub Desktop.
Save joec4i/0bdb3c7ca45a6acc6194153d3c14cbdc to your computer and use it in GitHub Desktop.
socat tcp-listen:19001,fork,reuseaddr \
exec:'ip netns exec c878c09b86bf socat STDIO "tcp-connect:127.0.0.1:19001"',nofork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment