Write the command(s) to run on a fresh, default installation of CentOS so that afterwards the output
Fantastic news! We've Found the answer you've been seeking!
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 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
Related Book For
Posted Date: