Skip to contentSkip to conversation

Blocking broadcasts

DISCUSSION Faruk Grozdanic 2 participants 2 messages Jul 10, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

I am trying to block broadcast IP traffic, that is IP traffic that has 255.255.255.255 in the destination feild. I pushed a rule:

iptables -I FORWARD -i eth4 -d 255.255.255.255 -j DROP

and it did not filter these out.

Am I doing something wrong here, or is there a different way of accomplishing this.

Thanks

Faruk

#1 lore raw
Quoted 8 lines · Faruk Grozdanic

Hello,

I am trying to block broadcast IP traffic, that is IP traffic that has 255.255.255.255 in the destination feild. I pushed a rule:

iptables -I FORWARD -i eth4 -d 255.255.255.255 -j DROP

and it did not filter these out.

Broadcasts do not go through routers, therefore they will enter the INPUT table of your firewall, not the FORWARD table.

Antony.