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

  • 👁️👄👁️@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    I still don’t know what a firewall actually does lol. I just install nftables and ufw and hope it somehow improves my security. I just don’t know how.

    • Rekhyt@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      2 years ago

      Programs that want to receive or send data across the network do so using a port. A firewall (in the sense of a firewall on your computer) is basically a program that sits between the rest of your programs and your network connection and determines what programs should be allowed out to the network and what incoming connections should be allowed to talk to your programs.

      This is “increasing security” by making sure you don’t let incoming connections talk to whatever happens to be running on your computer that might be listening for network traffic.

      I can provide a more ELI5 explanation if you would like it.