Forwarding broadcast traffic
- by Dragos
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, but I didn't success.
(-m pkttype --pkt-type broadcast).
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)
Thanks.