Which of the following firewall rules would allow access to this site?

A Linux administrator built a GitLab server. Later that day, a software engineer tried to access the server to upload the repository during the final step of installation. The software engineer could not access the website.

Which of the following firewall rules would allow access to this site?
A . iptables CA INPUT Cp tcp Cm multiport –dports 80,443 Cm conntrack Ccstate NEW, ESTABLISHED Cj ACCEPT
B . iptables CA INPUT Cp tcp Cm multiport –dports 80,443 Cm conntrack Ccstate ESTABLISHED Cj ACCEPT
C . iptables CA INPUT Cp tcp Cm multiport –dports 80,443 Cm conntrack Ccstate RELATED, ESTABLISHED Cj ACCEPT
D . iptables CA INPUT Cp tcp Cm multiport –dports 80,443 Cm conntrack Ccstate NEW, ESTABLISHED Cj REJECT

Answer: C

Explanation:

Reference: https://serverfault.com/questions/578730/when-using-iptables-firewall-rules-why-assert-new-state-on-all-allowed-ports

Latest XK0-004 Dumps Valid Version with 267 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments