Skip Navigation

Do I need a firewall for my fedora 38?

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?

18 comments
  • Even without any firewall you should be fine by default. Access to ports with no services listening do nothing. Firewalls are just defense-in-depth in case a service that you didn't want to accidentally listens on a port. It may also slightly reduce kernel attack surface.

    So I would say that you don't need it. You will be fine. But if you want to be sure about what is listening on your machine then feel free to apply one.

  • I use portmaster on my fedora instance. I disabled blocking all from LAN and made a custom rule set to allow some devices and block all others.

  • "That guy" here. I don't go "further" than setting everything up with firejail and then creating a mavclan port/connection pointing my main ip through it and then removing whatever is in my eth0 port/connection. All that with netctl.

    "Does it work"? Well, whoever tries to scan my ip for open ports with nmap gets a nice and sweet "All ports are closed" message back. So eh... I'll be fine. :^)

18 comments