Hi. I wanted to know if it's needed to install a firewall on a linux desktop/laptop. Why yes or why no?

  • blarp@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    You are a rock star.

    Okay, I now have new awesome rules! I assigned my other two machines static IPs (192.168.1.3 and 192.168.1.4, respectively). So now I have:

    sudo systemctl enable --now ufw
    sudo ufw default deny
    sudo ufw allow from 192.168.1.3
    sudo ufw allow from 192.168.1.4
    sudo ufw limit ssh
    sudo ufw enable
    

    SSH still works, everything is awesome. Thanks again 👏👏👏