Do I need a firewall for my fedora 38?

I’m new to Linux, previously been on Windows where I used defender + Windows firewall. Now I’m on fedora which also have its firewall called firewalld. Are those sufficient, or do I need any other solutions for my security?

  • moist_towelettes@lemm.ee
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    3
    ·
    edit-2
    1 year ago

    Unless your computer is exposed directly to the internet, your router’s firewall should be enough. Fedora typically has SELinux and AppArmor enabled by default which should protect from something nasty executing on your machine.

    Don’t execute things as root if you don’t know what it is and you should be fine.

    • Caaaaarrrrlll
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 year ago

      Fedora doesn’t use AppArmor, it uses SELinux.

      You normally only use SELinux or AppArmor, not both, since they are the same goal and purpose.

      I would definitely keep firewalld and SELinux installed and enabled on any system unless there’s a good reason not to.

    • ReversalHatchery@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Fedora typically has SELinux and AppArmor enabled by default which should protect from something nasty executing on your machine.

      That does not really work that way. Aside from what the other responder said, only a small set of programs are confined by these security solutions by default.