Question: Write the command(s) to run on a fresh, default installation of CentOS so that afterwards the output of iptables -L is this: Chain INPUT (policy

Write the command(s) to run on a fresh, default installation of CentOS so that afterwards the output of "iptables -L" is this:

Chain INPUT (policy ACCEPT)

targetprot optsourcedestination

ACCEPTall--anywhereanywherestate RELATED,ESTABLISHED

ACCEPTicmp --anywhereanywhere

ACCEPTall--anywhereanywhere

ACCEPTtcp--anywhereanywherestate NEW tcp dpt:ssh

REJECTall--anywhereanywherereject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)

targetprot optsourcedestination

REJECTall--anywhereanywherereject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)

targetprot optsourcedestination

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!