Which of the following rules was MOST likely implemented?

Posted by: Pdfprep Category: XK0-004 Tags: , ,

An administrator is attempting to block SSH connections to 192.168.10.24 using the Linux firewall. After implementing a rule, a connection refused error is displayed when attempting to SSH to 192.168.10.24.

Which of the following rules was MOST likely implemented?
A . iptables CA Cp tcp Cd 192.168.10.24 Cdropt 22 Cj REJECT
B . iptables CA Cp tcp Cd 192.168.10.24 Cdropt 22 Cj DROP
C . iptables CA Cp tcp Cd 192.168.10.24 Cdropt 22 Cj FORWARD
D . iptables CA Cp tcp Cd 192.168.10.24 Cdropt 22 Cj REFUSE

Answer: A

Explanation:

Reference: https://www.golinuxhub.com/2014/03/how-to-allowblock-ssh-connection-from.html

Leave a Reply

Your email address will not be published.