I have a host that receives broadcast queries on a UDP port.
I would like to forward this broadcast traffic to another host from another network.
Is it possible to port forwarding broadcast traffic using iptables?
I have tried to specify package traffic as broadcast (
-m pkttype --pkt-type broadcast), but that didn't work.
If I recive unicast traffic on that port, the forwarding succeeds.
I try to forwarding using nat table.(
-A POSTROUTING -j DNAT --to-destinatiox x.x.x.x)