IPTables : prevent UDP Flooding

ddosiptables

I want to stop the UDP flooding on the Linux device.

I have written a simple IPTable rule to drop all UDP packets

iptables -A INPUT -p udp DROP

But still the DoS attack happens and the device gets hanged. Any clue on how to prevent a UDP flooding?

Every Answer is appreciated.

Best Answer

Block the traffic at an upstream router. You can't make those packets magically disappear, so if your device is so underpowered that it can't handle dropping UDP packets, you'll need to do that with another device.

Related Topic