ExamQuestions.com

Register
Login
CompTIA Server+ Exam Questions

CompTIA

CompTIA Server+

31 / 420

Question 31:

A network administrator is tasked to block all outbound SSH connections on the default port from a network subnet of 10.152.8.0/21 on a Linux based firewall. Which of the following rule sets would accomplish this task? 

Answer options:

A. iptables -i OUTPUT -d 10.152.8.0/21 -p TCP --dport 22 -j REJECT
B. iptables -i OUTPUT -d 10.152.8.0/21 -p TCP --dport 23 -j REJECT
C. iptables -i OUTPUT -d 10.152.8.0/21 -p TCP --dport 22 -j ACCEPT
D. iptables -i OUTPUT -d 10.152.8.0/21 -p TCP --dport 23 -j ACCEPT