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:

[root@host01 ~] # iptables –L INPUT Chain INPUT (policy ACCEPT) target port opt source
destination ACCEPT tcp – – anywhere anywhere tcp dpt:http Another rule is then added:
[root@host01 ~] # iptables –A INPUT –P tcp – – dport 80 –j REJECT 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:

[root@host01 ~] # iptables –L INPUT Chain INPUT (policy ACCEPT) target port opt source
destination ACCEPT tcp – – anywhere anywhere tcp dpt:http Another rule is then added:
[root@host01 ~] # iptables –A INPUT –P tcp – – dport 80 –j REJECT What is the effect of
this command on subsequent attempts to access the web server on HOST01 using port 80?

A.
New connection attempts timeout.

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

C.
New connection attempts always succeed.

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



Leave a Reply 0

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