Linux Netfilter discussions
 help / color / mirror / Atom feed
* initiate a broadcast with dnat
@ 2005-11-09 20:22 marcel lilienthal
  0 siblings, 0 replies; only message in thread
From: marcel lilienthal @ 2005-11-09 20:22 UTC (permalink / raw)
  To: netfilter

hello,

i want to initiate a broadcast if a udp packet with destination port
9999 reaches my router.
i have two devices: ppp0 (wan), eth0 (lan). broadcast of eth0 is
192.168.0.255.

when i use
iptables -t nat -A PREROUTING -i ppp0 -p upd --dport 9999 -j DNAT
--to-destination 192.168.0.255:9

the packet gets into the INPUT chain of ppp0 instead of the FORWARD
chain. if i use a non broadcast destination ip, the packet gets into
FORWARD chain.

is there a way to initiate a broadcast with iptables?

regards, marcel



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-09 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-09 20:22 initiate a broadcast with dnat marcel lilienthal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox