What is the effect of this command on subsequent attempts to access the web server on HOST01 using port 80?

A web server on HOST01 is listening on port 80.Examine the IPTABLES rule shown:[[email protected] ~] # iptables -L INPUT Chain INPUT (policy ACCEPT) targetportoptsourcedestination ACCEPTtcp- – anywhereanywheretcp dpt:httpAnother rule is then added:[[email protected] ~] # iptables -A INPUT -P tcp – – dport 80 -j REJECTWhat is the effect of this command on subsequent attempts to access the web server on HOST01 using port 80?

Question:

What is the effect of this command on subsequent attempts to access the web server on HOST01 using port 80?

Options:

New connection attempts timeout.

New connection attempts are refused and the client informed of the refusal.

New connection attempts always succeed.

New connection attempts succeed until a reload of the firewall rules.

Correct Answer

The Correct Answer for this Question is

New connection attempts timeout.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *