Now that we know the ins and outs of SSH and connecting to our machines, whether it be the local VMs or remote servers, we're going to take a look at the most obvious part of the security onion (the firewall) and the Linux network stack in general.
Traditionally, firewall administration was handled by the iptables and associated commands, and indeed you'll be hard pressed to find system administrators who don't instantly install the iptables suite of tools on every server they find (that doesn't have it installed already).
On modern installations, firewall-cmd (CentOS) and ufw (Ubuntu) can be found installed in place of, or in addition to, traditional tools. These are an attempt to make the firewall process a more painless experience, though purists will defend iptables to the death.
No matter the user space (the name given to programs that operate...