From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Murphy Subject: DNAT and broadcast Date: Thu, 02 Sep 2004 10:11:48 -0400 Sender: netfilter-bounces@lists.netfilter.org Message-ID: <41372A24.3020006@mrassociates.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Netfilter I was working with DNAT and I can successfully send a traffic to another machine. The problem is that broadcast traffic is not routed. So I added: iptables -t nat -A PREROUTING -p udp -d 192.168.1.255 --dport 3000 -j DNAT --to-destination 172.16.17.21 This is the only rule. But nothing is seen by the remote machine. Normal traffic is routed correctly. My guess is that even though the IP address has been changed the MAC address has not and that is what is causing the packet to not be routed. Correct? Is there a way to do this? -- Ben Murphy ben@mrassociates.com