Forwarding broadcast traffic

Posted by Dragos on Server Fault See other posts from Server Fault or by Dragos
Published on 2012-10-25T09:35:05Z Indexed on 2012/10/25 11:03 UTC
Read the original article Hit count: 244

Filed under:
|
|

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.

© Server Fault or respective owner

Related posts about iptables

Related posts about forwarding