Установите брандмалд Ubuntu 20.04

sudo apt update
sudo apt install firewalld
sudo systemctl enable firewalld
sudo systemctl start firewall
sudo firewall-cmd --list-all
Ahmed Ali