20
submitted 6 months ago by merompetehla@lemmy.ml to c/linux@lemmy.ml

I'm trying to open a port for transmission but before I get to know either of the 2 options I'd like to know what you recommend and why.

OS is xubuntu 24.04

all 20 comments
sorted by: hot top controversial new old
[-] swooosh@lemmy.world 11 points 6 months ago

if you use docker, docker ignores ufw rules

[-] exu@feditown.com 4 points 6 months ago

It'll also ignore the default firewalld rules. IIRC it uses the internal zone instead

[-] swooosh@lemmy.world 1 points 6 months ago

Good to know, thx

[-] cereals@lemmy.ml 9 points 6 months ago

I like firewalld. Its also used on many enterprise distros (RHEL, SLES).

But if you just have to open one port for something, just use what's installed on your distro.

[-] Quazatron@lemmy.world 6 points 6 months ago

How often are you going to be managing ports?

Just use any tool you like, all they do is fiddle with the Kernel's filter table.

[-] nickwitha_k@lemmy.sdf.org 4 points 6 months ago

IMO firewalld because it's going to be more portable knowledge.

[-] yala@discuss.online 4 points 6 months ago

OS is xubuntu 24.04

Ubuntu defaults to ufw. That, by itself, justifies the use of ufw in your case.

[-] j4k3@lemmy.world 2 points 6 months ago

Network Filter Tables (NFT) is the current system. https://wiki.nftables.org/wiki-nftables/index.php/Main_Page

[-] BCsven@lemmy.ca 2 points 6 months ago

I found firewalld had so many options that it was a bit overwhelming at first, especially understanding how zones were actually meant to be used, and how each zone had a default handover for the unhandled traffic. But OpenSUSE has a GUI for it so I was able to make sense of it. UFW seemed pretty user friendly and atraight forward.

[-] IceFoxX@lemm.ee 1 points 5 months ago

I like iptables + opensnitch

[-] Varen@kbin.social -1 points 6 months ago

Iptables. Because in the end its iptables, so I learned it from the beginning „the right way“ and i am therefore not locked into one or another

[-] nickwitha_k@lemmy.sdf.org 1 points 6 months ago

This is even better than my answer.

this post was submitted on 29 May 2024
20 points (95.5% liked)

Linux

48366 readers
637 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS