Linux Firewall – Do You Actually Enable One on a Desktop PC?
Most Linux distributions have firewall tools available, but I've often wondered how many people actually enable and configure one on a normal home desktop.For example, on distributions using UFW you can check the firewall with:
sudo ufw status
Other systems may use firewalld or configure nftables directly.
For a home PC sitting behind a broadband router, it's easy to assume the router's firewall is enough.
But Linux machines can also have services listening on the local network, especially if you're running things such as SSH, media servers, file sharing or other network services.
You can see what's listening on your machine with:
ss -tulpn
That can sometimes reveal more network services than you realised were running.
So I'm curious what everyone does.
Do you run a firewall on your Linux desktop, rely mainly on your router, or use both?