Im using linux for ±3 yrs and im pretty used to it. Im currently running nixos on my laptop. My question is what kind of hardening do i need firejail, apparmor, selinux, … all 3 of them ? none of them ? Thanks for the advice and have a nice day

  • @HerculesOP
    link
    18 months ago

    Thanks for the time to anwser. What is the diffrents between ufw and systemds firewall ?

    • @[email protected]
      link
      fedilink
      English
      38 months ago

      I’m not familiar with systemd’s but as long as you use a firewall and configure it properly you are fine.

      • @HerculesOP
        link
        28 months ago

        I meant firewalld im sorry

        • danielfgom
          link
          English
          28 months ago

          Use UFW - uncomplicated firewall. Some distros install it by default. Its very easy to use whereas other firewalls are super complicated

          • @HerculesOP
            link
            28 months ago

            I currently use firewalld is their a diffrents in terms of security ?

            • @[email protected]
              link
              fedilink
              English
              68 months ago

              I dont think so. Both UFW and firewalld are just frontends - they don’t actually do any work themselves. That is all handled by the iptables or the newer nftables kernel modules inside the kernel itself, the major difference will be in what rules they create but both should be able to create the same rules for either of these kernel APIs. UFW is what ubuntu uses by default I believe and firewalld what a lot of other distros use by default.

              • @HerculesOP
                link
                18 months ago

                Thanks this was a very usefull anwser!!!

            • Helix 🧬
              link
              fedilink
              1
              edit-2
              8 months ago

              No, only the configuration syntax is different. If you know what you’re doing in configuring them both are fine.

        • Helix 🧬
          link
          fedilink
          18 months ago

          They’re pretty similar but firewalld allows more complex rules without resorting to plain iptables syntax. Try both and see what you like better.