Pasang Firewall-CMD Centos 7
sudo yum install firewalld
sudo systemctl enable firewalld
sudo reboot
Snippets
sudo yum install firewalld
sudo systemctl enable firewalld
sudo reboot
sudo firewall-cmd --permanent --zone=public --add-port=80/tcp
sudo firewall-cmd --reload