Community discussions

MikroTik App
 
jeansouza
just joined
Topic Author
Posts: 2
Joined: Wed Aug 30, 2023 10:05 pm
Location: Brazil

IGMP Stream Conversion

Wed Aug 30, 2023 10:13 pm

Hello, I would like to know if the RouterBOARD RB750GR3 converts the Unicas stream into Multicast, if it converts, how can I do it?

I work with an IPTV stream and send a Unicast stream (by VPN or Cloud) to clients, my goal is to convert this Unicast stream into Multicast.

How do I do this conversion?
 
tangent
Forum Guru
Forum Guru
Posts: 1404
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: IGMP Stream Conversion

Thu Aug 31, 2023 2:35 am

You should be able to use dstnat to achieve this. Something like:

/ip firewall nat
add chain=dstnat action=dst-nat \
in-interface=WAN dst-port=1234 protocol=udp \
to-addresses=239.255.1.2

Alternately, you could port-forward that unicast stream into the firewall (again with dstnat) on the other end, catch it somehow, and re-cast it. This will require a server machine of some kind, at which point your options multiply.
 
jeansouza
just joined
Topic Author
Posts: 2
Joined: Wed Aug 30, 2023 10:05 pm
Location: Brazil

Re: IGMP Stream Conversion

Thu Aug 31, 2023 4:37 pm

Hello, thank you very much for the information.
So wouldn't it be necessary to use the IGMP protocol?
Would you only use NAT?
 
tangent
Forum Guru
Forum Guru
Posts: 1404
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: IGMP Stream Conversion

Thu Aug 31, 2023 4:53 pm

Unless you use PIM, IGMP's effects are confined to the LAN boundaries. A unicast stream between two LANs over a WAN is not affected by IGMP.

Now, the clients on the target LAN may well use IGMP to signal the switch to prune the resulting multicast traffic back, keeping it from flooding the entire LAN, but that's a separate matter, outside the scope of your initial question. Once the IPTV stream becomes multicast on the target LAN, all the same rules apply as when the IPTV traffic is kept within a single LAN.

Who is online

Users browsing this forum: megabytenet and 5 guests