Enable UFW

To turn on UFW, sudo ufw allow 22 sudo ufw enable sudo ufw status sudo systemctl enable ufw sudo systemctl start ufw Specific Services SSH sudo ufw allow 22 Samba sudo ufw allow Samba syncthing sudo ufw allow syncthing sudo ufw allow syncthing-gui dnsmasq and dhclient for enabling wifi bridging in ubuntu

Install and configure fail2ban

Derived from here: sudo apt install -y fail2ban sudo systemctl enable fail2ban sudo systemctl start fail2ban sudo systemctl status fail2ban config fail2ban for ufw

PiHole Setup

docker compose version: "3" # More info at and https://docs.