Post #2431253
2026-01-14 02:28 UTC
Replies (3)
-
@deadcade@lemmy.deadca.de 2026-01-14 02:45
UFW works well, and is easy to configure. UFW is a great option if you don’t need the flexibility (and insane complexity) that manually managing iptables rules offers,
-
@kumi@feddit.online 2026-01-14 06:13
Firewalld sudo apt-get install firewalld systemctl enable --now firewalld # ssh on port 22 opened but otherwise most things blocked by default firewall-cmd --get-active-zones firewall-cmd --info-zone=public firewall-cmd --zone=public --add-port=1234/tcp firewall-cmd --runtime-to-permanent There are some decent guides online. Also take a look in /etc/firewalld/firewalld.conf and see if you want to change anything. Pay attention to the part about Docker. You need to know about zones, ports, and interfaces for the basics. Services are optional. Policies are more advanced. I suggest it for your laptop, too.
-
@K3can@lemmy.radio 2026-01-14 11:23
ufw is just a fancy frontend for iptables, but hasn’t been updated for nftables, yet. Firewalld is an option that supports both, and if you happen to be running cockpit as well, the cockpit-firewall plugin provides a simple GUI for the whole thing.