Skip to contentSkip to conversation

DNAT and broadcast packets

DISCUSSION Todor Tzankov 1 participant 1 message Nov 3, 2003

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I want to know is it possible to DNAT broadcast packets and if yes how.
I'm trying to acomplish that with the following rule:
iptables -t nat -A PREROUTING -m pkttype --pkt-type broadcast -p udp -p $PORT1:$PORT2 -j DNAT --to-destination $SOME_IP
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/pmIPIt5NA2WPMMURArENAJ9swWao6HA0AzJi/O4VuHy35teJEACgn93L z1kTxZfjixZqfOxx3Z6uxnc=
=W06q
-----END PGP SIGNATURE-----