When hosting your own home-environment, you probably have some services exposed to the internet (webserver, mail,…). Good practice when exposing your server to the internet, is installing a firewall. In this case we will install and configure UFW on Debian 12. Installing UFW: sudo apt update sudo apt install ufw Setting up UFW Defaults: First we are going to deny…