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.

Last Updated on August 14, 2021 by Admin 1

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?

  • iptables –A –p tcp –d 192.168.10.24 –-dport 22 –j REJECT
  • iptables –A –p tcp –d 192.168.10.24 –-dport 22 –j DROP
  • iptables –A –p tcp –d 192.168.10.24 –-dport 22 –j FORWARD
  • iptables –A –p tcp –d 192.168.10.24 –-dport 22 –j REFUSE

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments