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

64 points

If your computer is connected to a network, I don’t see any downside of enabling a firewall. It’s a good security layer to have and costs basically no resources to keep running.

permalink
report
reply
7 points

I guess a downside is having to fiddle with it, allowing stuff you want to get through. Sometimes it blocks stuff you don’t want blocked

permalink
report
parent
reply
4 points

I’d rather have to open up stuff my self then have an uninvited visitor doing it without me knowing about it.

permalink
report
parent
reply
3 points

Well sure, but I was commenting about the downsides

permalink
report
parent
reply
25 points

There is no reason not having a firewall

permalink
report
reply
23 points

Yes, and hopefully you will have one preinstalled, blocking all incoming connections.

An outbound firewall like Opensnitch or Portmaster is also nice. But here I would say often you dont need one. Balena Etcher was the only App loading Ads, at all. Firefox and Thunderbird can be hardened. The rest is okay and doesnt phone home, Flatpak permissions ard also great.

permalink
report
reply
6 points

Balena Etcher shouldn’t be loading ads. Where did you install it from?

permalink
report
parent
reply
3 points

Official website. They just advertise their own products which I consider Adware

permalink
report
parent
reply
19 points
*

Linux comes with a default firewall it’s called IPtables/NFtables, Just make sure that it’s on. Example I Ubuntu Sudo ufw enable.

permalink
report
reply
8 points

Actually it’s Netfilter. IPTables is just a frontend.

permalink
report
parent
reply
1 point

Linux is a kernel. The actual tooling varies and isn’t always preinstalled

permalink
report
parent
reply
17 points

Why not? It’s comically easy to set up one.

permalink
report
reply
11 points
*
Deleted by creator
permalink
report
parent
reply
18 points

If you allow the whole subnet you might as well not use a firewall. Your router has one and port forwarding is disabled by default.

permalink
report
parent
reply
3 points
*
Deleted by creator
permalink
report
parent
reply
1 point

Yeah, I kind of agree. Unless this is a mobile device pretty much all traffic will come from within your subnet. I often deny incoming from my gateway (i.e. router) and poke holes as necessary.

permalink
report
parent
reply
1 point

ufw and docker don’t like each other

permalink
report
parent
reply
1 point

Can you elaborate on that? I’m curious what you mean.

permalink
report
parent
reply
-3 points

It’s also comically useless to have a desktop firewall application installed when you’re already behind some sort of firewall solution like a router not forwarding most incoming traffic.

permalink
report
parent
reply
12 points

It depends. Sure, maybe somewhat redundant for a home desktop that just stays at home on a network you control, but for a laptop it is absolutely essential.

You may also want a firewall to defend against other devices within your local network. Let’s say you have IoT devices, many of which are poorly secured and maintained by their manufacturers, or you live with family members or guests who don’t practice or even know about proper computing hygiene and are bringing in devices onto your local WiFi.

permalink
report
parent
reply
3 points

My IoT devices already have a dedicated network and guest can use my guest WiFi. But yes, you’re right. It depends. And especially for mobile devices some sort of local firewall solution could be relevant. If there are no ports exposed to the LAN you’re pretty save, though.

permalink
report
parent
reply
4 points

There’s incoming and then there’s outgoing traffic. Software firewalls can forbid processes that may be advertised as “offline only” from reaching out; typically a hardware firewall doesn’t care about this kind of thing.

permalink
report
parent
reply
3 points
*

Some people like hosting some servers on their desktop as well, and doesn’t want others on their local network to access them. With firewalls, you can allow specific IP address to reach those servers.

permalink
report
parent
reply
2 points

That’s fine right up until something on your network, even the ISP modem-firewall-router-switch itself, gets compromised.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments