desactivar firewall ubuntu server 18.04 code example
Example 1: firewall status on ubuntu
$ sudo ufw status
[sudo] password for linuxconfig:
Status: inactive
Example 2: 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