Listing firewall rules on the command line

Here, we're going to use both the newer method, firewall-cmd & ufw, for listing firewall rules, along with the older (but still popular) method, iptables. We're going to go into the basics of other tables within firewalls, and the storage location for rules.