I'm having trouble using iptables to change the destination address of a broadcast packet. I have read several places that iptables/Linux won't forward broadcast packets, so I'm looking for alternatives.
My network is set up as /30, so broadcast traffic is being sent to me at x.x.x.3. I have tried opening up the subnet on my local machine so that x.x.x.3 is no longer my broadcast address, but the destination MAC address of the packet is ff:ff:ff:ff:ff:ff:xx:xx:xx:xx:xx:xx:xx:xx, so I believe it is still being interpreted as a broadcast packet.
Is there a way to change a packet's destination MAC address?
Are there any tools other than iptables that will perform this operation?
If I can't find a way around this, I'm thinking I would accept this packet locally and write a program that would sent the packet data to the desired recipient. Is there any reason that shouldn't work?