Hi all !
I have RB951Ui-2nD. I need to make forwarding unicast to multicast.
I’ve tried the next command:
/ip firewall nat add chain=dstnat dst-address=192.0.1.21 dst-port=14000 action=dst-nat protocol=udp to-address=239.0.2.1 to-port=14000
But it is not work.
Any ideas?
Thanks in advance.
I would add the IGMP proxy, defining the incoming interface as upstream, the outgoing interface(s) as downstream and then add the stream source as MFC manually.
-Chris
Chris thank you for your answer.
Сould you write more detailed instructions ?
I want to receive unicast on ether1 and translate multicast to ether2, ether3.
Thank you.
I’d give a try with this (taken from https://wiki.mikrotik.com/wiki/Manual:Routing/IGMP-Proxy#MFC_static_entry:
/routing igmp-proxy interface add comment="" disabled=no interface=ether1 threshold=1 upstream=yes
/routing igmp-proxy interface add comment="" disabled=no interface=ether2 threshold=1
/routing igmp-proxy interface add comment="" disabled=no interface=ether3 threshold=1
/routing igmp-proxy mfc add source=192.168.0.1 upstream-interface=ether1 \
downstream-interface=ether2 group=239.0.2.1 disabled=no
…where 192.168.0.1 is the IP address of the machine delivering the unicast stream, assuming it comes in to ether1.
-Chris
Thanks, Chris!
But should I have dstnat rule to change destination ip in this case?
Thanks.
From my understanding no, IGMP proxy should take care of this.
-Chris
Hmm… but in this case all traffic from ether1 will be translated to multicast.
I’ve tried with and without dstnat… not work yet 