firewall ubuntu 20.04 code example
Example: install firewalld ubuntu 20.04
sudo apt update
sudo apt install firewalld
sudo systemctl enable firewalld
sudo systemctl start firewall
sudo firewall-cmd --list-all
sudo apt update
sudo apt install firewalld
sudo systemctl enable firewalld
sudo systemctl start firewall
sudo firewall-cmd --list-all