Skip to content

Instantly share code, notes, and snippets.

@danvideo
Forked from mathieue/udp-multi-socat.sh
Created December 21, 2016 17:41
Show Gist options
  • Save danvideo/da1665660cdb27f57672a7dc7d5e0908 to your computer and use it in GitHub Desktop.
Save danvideo/da1665660cdb27f57672a7dc7d5e0908 to your computer and use it in GitHub Desktop.
udp multiplexer with socat
socat - udp4-listen:8125,fork | tee >(socat - udp-sendto:127.0.0.1:8135) >(socat - udp-sendto:127.0.0.1:8140)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment