LPI
202-450 · Question #51
To be able to access the server with the IP address 10.12.34.56 using HTTPS, a rule for iptables has to be written. Given that the client host's IP address is 192.168.43.12, which of the following…
The correct answer is C. iptables -A FORWARD -p tcp -s 192.168.43.12 -d 10.12.34.56 -dport 443 -j ACCEPT. You've hit your weekly limit · resets 5am (America/New_York)
213 System Security
Question
To be able to access the server with the IP address 10.12.34.56 using HTTPS, a rule for iptables has to be written. Given that the client host's IP address is 192.168.43.12, which of the following commands is correct?
Options
- Aiptables -A FORWARD -p tcp -s 0/0 -d 10.12.34.56 -dport 80 -j ACCEPT
- Biptables -A FORWARD -p tcp -s 192.168.43.12 -d 10.12.34.56:443 -j ACCEPT
- Ciptables -A FORWARD -p tcp -s 192.168.43.12 -d 10.12.34.56 -dport 443 -j ACCEPT
- Diptables -A INPUT -p tcp -s 192.168.43.12 -d 10.12.34.56:80 -j ACCEPT
- Eiptables -A FORWARD -p tcp -s 0/0 -d 10.12.34.56 -dport 443 -j ACCEPT
How the community answered
(27 responses)- A11% (3)
- C81% (22)
- D4% (1)
- E4% (1)
Explanation
You've hit your weekly limit · resets 5am (America/New_York)
Topics
#iptables#HTTPS#TCP port 443#FORWARD chain
Community Discussion
No community discussion yet for this question.