Hello, How can I configure RouterOS to pass a local broadcast UDP message 192.168.88.255 port 10060 from ether2 to WAN/Ether1, translate the destination ip to broadcast address 192.168.0.255 port 10060, and convert the src address to that of the router, 192.168.0.02?
I tried
/ ip firewall nat> add chain=dstnat action=dst-nat to-addresses=192.168.0.255 protocol=udp dst-address=192.168.88.255 in-interface=ether2-master dst-port=10060
But my test app did not receive packets.
The network is not connected to the internet and consists of a variable number of subnets with one router per subnet. All fixed IPs, but variable number of routers at any moment.
Switch with no router
|
|-Router 2 ether1:192.168.0.2, ether2:192.168.88.1/24
| |- 192.168.88.25 Embedded controller has fixed IP cannot be changed
| | (This is source of a custom broadcast UDP message. I can control the UDP message.)
| |- 192.168.88.26 Embedded controller fixed IP cannot be changed
|
|-Router 3 ether1:192.168.0.3 Duplicate system as on Router 2
| >Ether2:192.168.88.1/24
| |- 192.168.88.25 Embedded controller fixed IP cannot be changed
| |- 192.168.88.26 Embedded controller fixed IP cannot be changed
|
|-Router N ether1:192.168.0.N Duplicate system as on Router 2
| >Ether2:192.168.88.1/24
| |- 192.168.88.25 Embedded controller fixed IP cannot be changed
| |- 192.168.88.26 Embedded controller fixed IP cannot be changed
|
|- Test computer 192.168.0.149
Each router and subnet represents a mobile unit of equipment that needs to send status messages that all the other units on the network can receive. So I’m hoping someone can tell me how to get the broadcast message to go to the subnet on ether1. Thank you.