Setup consist on a Mikrotik L009 with a lot of local networks.
In order to do that I removed most ethernet ports from the bridge.
Each of those interfaces is the gateway for a different network and I can route from the different networks nicely.
In one of those interfaces there is single machine, which does send a UPD stream to the router interface in the same network.
I can not change the machine to a different network, nor change the IP, nor change the destination address of the UDP stream. It is what it is.
The machine IP address is 10.0.10.10
The machine does not have a gateway.
The router IP address on that interface is 10.0.10.1, which is also the destination IP address of the UDP packages.
The destination port is 1234
I can see the incoming traffic using the /tool/torch utility on the expected interface.
I want to send all those UPD packets to a different address in a different machine, also accessible to the router.
The destination machine is 10.0.40.10
The router IP address on that interface probably does not matter, but it is 10.0.40.254
From the router shell I can ping both machines.
After reading a few pages like https://help.mikrotik.com/docs/display/ ... forwarding
and other pages I thought I knew how to make it work.
Code: Select all
/ip/firewall/nat
add chain=dstnat protocol=udp dst-address=10.0.10.1 dst-port=1234 action=dst-nat to-addresses=10.0.40.10 to-ports=1234 log=yes log-prefix="Redirect1234"
Looking at the Statistics for the NAT rule on the WinBox interface I can see that it gets no packets at all.
So I guess I am doing something wrong here.
Any hints?
Thanks in advance