Here in this section I am going to discuss some common attacks can be done on any type of Linux machine and I will also describe that how they are being blocked by iptables.
ICMP Flood | Ping Traffic
This is also known as ping of death attack or an ICMP flood. One must block ping traffic by using iptables. One must block all ICMP incoming packets from outside connection. You can let it allow for your internal network. Below command shows how ICMP flood can be dropped by using iptables.DROP is used for dropping packet.