home                              
*** 2/17/25   Debian                      
  Ver   home                        
  2/17/25                              
   
  home
  Install / Debian Info Firewall
  Releases uname -a sudo ufw enable
  Pkg Mgt lsb_release -a sudo ufw status verbose get status
  MX cat /etc/os-release
  FAQ --> hostnamectl sudo ufw disable temporarily stop the firewall
    sudo ufw status verbose If it says inactive, UFW is turned off
   
    sudo apt remove ufw uninstall and remove all rules
    sudo apt purge ufw
    sudo ufw status It should return "command not found" if successfully removed.
   
   
    sudo ufw allow 22/tcp Allow SSH (important!) Before enabling UFW, make sure to allow SSH so you don’t get locked out:
    sudo ufw allow icmp
    sudo ufw allow 80/tcp   # Allow HTTP
    sudo ufw allow 443/tcp  # Allow HTTPS
   
   
    # iptables -L Securing Your Raspberry Pi: From Passwords to Firewalls