Linux_FoundationLinux_Foundation
LFCS · Question #226
LFCS Question #226: Real Exam Question with Answer & Explanation
Sign in or unlock LFCS to reveal the answer and full explanation for question #226. The question stem and answer options stay visible for context.
Submitted by satoshi_tk· Apr 18, 2026Networking
Question
What does the following iptables rule accomplish: iptables A INPUT d 10.142.232.1 p tcp dport 20:21 j ACCEPT
Options
- AForwards all traffic not on port 20 or 21 to the host 10.142.232.1.
- BDrops all traffic coming from the host 10.142.232.1 destined for port 20 or 21.
- CAccepts all traffic from the host 10.142.232.1 destined for port 20 or 21.
- DForwards all traffic on port 20 and 21 to the host 10.142.232.1.
Unlock LFCS to see the answer
You've previewed enough free LFCS questions. Unlock LFCS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#iptables#Firewall#Networking#TCP/IP ports