A cloud engineer needs to block the IP address 192.168.10.50 from accessing a Linux server. Which of the following commands will achieve this goal?
- Aiptables -F INPUT -j 192.168.10.50 -m DROP
- Biptables -A INPUT -s 192.168.10.30 -j DROP (correct answer)
- Ciptables -i INPUT --ipv4 192.168.10.50 -z DROP
- Diptables -j INPUT 192.168.10.50 -p DROP
Reveal answer & explanationHide answer
The correct answer is B. Option B: iptables -A INPUT -s 192.168.10.30 -j DROP






