XK0-005 · Question #1841
XK0-005 Question #1841: Real Exam Question with Answer & Explanation
The correct answer is B: iptables -P FORWARD ACCEPT. The FORWARD chain policy is set to DROP, which blocks packet forwarding between interfaces-even if the routes and NAT rules are correct. Setting the policy to ACCEPT allows packets to be routed through the system.
Question
An administrator is investigating an issue on a Linux-based router where packets enter the machine but are not sent to their destinations in the 10.0.6.0/24 subnet. The administrator inspects the following output from the diagnostic commands: Which of the following commands should the administrator run to enable the routing?
Options
- Aip route add 10.0.6.0/24 via 10.0.6.1
- Biptables -P FORWARD ACCEPT
- Csystemctl enable --now firewalld
- Dsystemctl restart network
Explanation
The FORWARD chain policy is set to DROP, which blocks packet forwarding between interfaces-even if the routes and NAT rules are correct. Setting the policy to ACCEPT allows packets to be routed through the system.
Topics
Community Discussion
No community discussion yet for this question.