LPI
117-102 · Question #673
Your gateway to the internet is using iptables and NAT to allow your private network to access the Internet. You've verified that the gateway is not set up to block packets, but you need to verify…
The correct answer is B. iptables -t nat -L. See the full explanation below for the reasoning.
Question
Your gateway to the internet is using iptables and NAT to allow your private network to access the Internet. You've verified that the gateway is not set up to block packets, but you need to verify that it is properly masquerading them. Which of the following commands would you use to look at your NAT tables?
Options
- Aiptables -L -n
- Biptables -t nat -L
- Ciptables -t mangle -L
- Diptables -t filter -L
How the community answered
(65 responses)- A3% (2)
- B75% (49)
- C14% (9)
- D8% (5)
Community Discussion
No community discussion yet for this question.