instalar UFW Centos

sudo yum install epel-release -y
sudo yum install --enablerepo="epel" ufw -y
#after install it, enable ufw
sudo ufw enable 
#check ufw status
sudo ufw status
Snippets