We have some manufacturing equipment that sends its log data via a broadcast UDP packet on port 44444.
The data logger PC listens and logs the data.
This all works very well.
This network is NATed on a RB450 with a connection to the company internal network above the RB450.
We need to grab this broadcast packet in the RB450 and forward it to a linux system on the parent network.
There will never be any replies to these packets.
I can see the packets in the preroute chain on the RB450 and the dstnat rule on the RB450 is showing traffic but the packets never leave the RB 450 to the parent network.
There is not any traffic counts of UDP 44444 traffic on the forward, postroute or output chains.
I need some help here please.
We would think that this is quite easy but it is not.
The dstnat rule? Shouldn’t that be a srcnat rule for outbound traffic? Can you be a little more specific about your setup?
Can you ping the linux system on the parent network from the RB450?
If so, can you ping the linux system on the parent network from a computer on the RB450 localnet?
More details:
I can ping the linux box on the parent network.
I can see the broadcast udp packets flowing through the rules.
the preroute rule and then the dst-nat counters.
I don't see the packet on the post route and output.
I was expecting the dst-nat to change the dst address and then the src-nat to change the src address and then send it to the parent network.
Is connection tracking getting confused between local and remote?
when you say broadcast packet do you mean something like 192.168.1.255 or 255.255.255.255 ? What is the actual source and destination IP of those packets? True broadcast packets like the addresses above won’t traverse interfaces unless you force them to.