Skip to content

Instantly share code, notes, and snippets.

@Cougar
Forked from mathieue/udp-multi-socat.sh
Created March 22, 2016 13:41
Show Gist options
  • Save Cougar/118f22d9670f746f2018 to your computer and use it in GitHub Desktop.
Save Cougar/118f22d9670f746f2018 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