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

  • @[email protected]
    link
    fedilink
    910 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
    link
    fedilink
    610 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.

    • exu
      link
      fedilink
      English
      010 months ago

      Firewalld had, at least last time I checked, way more capabilities than UFW. Both are fine at being basic firewalls, but I don’t think you can build a router using just UFW.

      Firewalld allows some pretty advanced rules. I use it to redirect a bunch of web requests going to a certain address over a local ssh tunnel.

  • @[email protected]
    link
    fedilink
    410 months ago

    OS is xubuntu 24.04

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

  • @[email protected]
    link
    fedilink
    210 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.

  • Varen
    link
    fedilink
    -110 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