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
Get step-by-step solutions from verified subject matter experts
