All right, so what are the commands that we have seen? Firewall CMD
for firewall management on Red Hat and UFW for the firewall on Ubuntu.
Getenforce is showing the current selinux mode on an selinux system and setenforce allows you to change it.
Selert is what you want to run to figure out what Selinux has been blocking and get
a hint on how to restore it and scmanage and restorecon what you do to change it.
Then we have AA status, which is giving information about the current apparmor status, and apparmor
parser, which is an easy to use interface that allows you to manage app armor.
AAComplain will put it in complaining mode and that allows you to generate your
profile and aanforce will make sure that apparmor is fully up and armored.