Huawei
H12-711_V4.0 · Question #193
Use iptables to write a rule that does not allow the network segment 172.16.0.0/16 to access the device. Which of the following rules is written correctly?
The correct answer is A. iptables -t fiter -A INPUT -s 172.16.0.0/16 -p all -j DROP. See the full explanation below for the reasoning.
Question
Use iptables to write a rule that does not allow the network segment 172.16.0.0/16 to access the device. Which of the following rules is written correctly?
Options
- Aiptables -t fiter -A INPUT -s 172.16.0.0/16 -p all -j DROP
- Biptables -t fiter -P INPUT -s 172.16.0.0/16 -p all -j DROP
- Ciptables -t fiter -P INPUT -s 172.16.0.0/16 -p all -j-ACCEPT
- Diptables -t fiter -P INPUT -d 172.16.0.0/16 -p all -j-ACCEPT
How the community answered
(29 responses)- A83% (24)
- B3% (1)
- C3% (1)
- D10% (3)
Community Discussion
No community discussion yet for this question.