The administrator wants to deny ICMP traffic from being forwarded. Which of the following commands would accomplish this?

The administrator wants to deny ICMP traffic from being forwarded. Which of the following commands would accomplish this? 







A. iptables -A FORWARD -p icmp -j DENY
B. iptables -A FORWARD -p icmp -j DROP
C. iptables -A FORWARD -p udp --dport icmp -j DROP
D. iptables -A FORWARD -a all -proto ICMP -j REJECT







Answer: B


Learn More :

CompTIA

Learn More Multiple Choice Question :