This is an old revision of the document!
apt update apt install ufw
ufw app list ufw allow OpenSSH ufw allow Samba
ufw enable ufw status