A Linux administrator has installed a web application firewall in front of a web server running on HTTP port 8080 and successfully started the HTTP server. However, after opening the application URL in an Internet browser, the administrator discovered that the application does not work. The administrator performed the following diagnostic steps: Output of sysctl -a command: iptables -L
netstat -nltop | grep "8080" :
Which of the following is the NEXT step the administrator should perform to permanently fix the issue at the kernel level?
A) sysctl -w net.ipv4.ip_forward=1 then run sysctl -w /etc/sysctl.conf to enable the change sysctl -w net.ipv4.ip_forward=1 then run sysctl -w /etc/sysctl.conf to enable the change
B) Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 then run sysctl -p /etc/sysctl.conf to enable the change Edit /etc/sysctl.conf file and add net.ipv4.ip_forward = 1 sysctl -p /etc/sysctl.conf
C) Add iptables rule iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j then restart httpd daemon Add iptables rule iptables -A INPUT -m state --state NEW -p tcp --dport 8080 -j then restart httpd daemon
D) Add iptables rule iptables -A FORWARD-m state --state NEW -p tcp --dport 8080 -j ACCEPT then restart httpd daemon iptables -A FORWARD-m state --state NEW -p tcp --dport 8080 -j ACCEPT
Correct Answer:
Verified
Q72: A Linux administrator needs to schedule a
Q73: A member of the production group issues
Q74: Ann, a Linux administrator, wants to edit
Q75: A systems administrator wants to download a
Q76: An administrator needs to generate a list
Q78: A junior systems administrator is creating a
Q79: A technician wants to secure a sensitive
Q80: A junior systems administrator created a new
Q81: An administrator is uncomfortable allowing users to
Q82: A systems administrator notices a large number
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents