-
October 19th, 2018, 02:09 AM
#1
[RESOLVED] multiplexing a incoming stream to a secondary network
I have a closed caption system that will send out captions over a IP and UDP port to a single location but I would lke to multiplex it to other locations. right now I have the caption hardware sending it to my Ubuntu server on port 10010 but I would like to send this along to a secondary address off network .
currently I grab it using
socat -lf /dev/null udp4-listen:10010,reuseaddr,fork stdout >> captions.txt
so... my question is how can I take the incoming packets and record them to a text file and than send them out of my ubuntu server to a another network solution on the same or different port?
-
October 19th, 2018, 01:50 PM
#2
Originally Posted by jaisonmorgan
I have a closed caption system that will send out captions over a IP and UDP port to a single location but I would lke to multiplex it to other locations. right now I have the caption hardware sending it to my Ubuntu server on port 10010 but I would like to send this along to a secondary address off network . Rufus MapQuest UpToDate
currently I grab it using
socat -lf /dev/null udp4-listen:10010,reuseaddr,fork stdout >> captions.txt
so... my question is how can I take the incoming packets and record them to a text file and than send them out of my ubuntu server to a another network solution on the same or different port?
my issue has been solved thankyou so much community
-
July 13th, 2021, 04:16 AM
#3
You can use the iptables “tee” command to do just that, if the other server you wish to send the duplicate packets is on the same Ethernet segment / broadcast domain.
You’ll need to do some destination NAT on the receiving server then to change the dest IP to its own (in Linux you can use iptables REDIRECT on input).
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|