[CentOS] udp stream multiply
Nicolas.Thierry-Mieg at imag.fr
Wed Feb 17 11:36:33 UTC 2010
Jure Pečar wrote:
> I have an incoming udp data stream to public interface that I want to
> duplicate and multipy to three or more destinations on the internal
> Currently I've managed to put together netcat listener with output to
> pipe and socat reading from that pipe to a single destination. I
> hoped I could have more than one socat reader from the pipe, but that
> does not seem to be the case. So I'm able to only redirect stream to
> a single destination on lan.
> I'd also like to avoid this mess of shell tools and pipes and am
> looking for a cleaner solution.
> Any hints?
if you control the app on the destinations, you could use multicast?
Otherwise maybe broadcast on your LAN, all interested clients can pick
up the packets.
More information about the CentOS