In short, sell me on ufw.

I learned recently that yfw is basically replacing iptables “everywhere”, and as I’m getting old and crusty, this means that I have to learn something new when I’d much rather practice yelling at kids to get off my lawn.

To me, iptables is fine, and I like its flexibility. I’ve been using it ever since it de facto replaced ipchains, so ease of use isn’treally a factor in this equation.

So my more pointed question is: Can I just stick to iptables, or am I missing out on something that can only be done with ufw?

  • a_fancy_kiwi@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    7 days ago

    If you know iptables, just stick with that. In my testing, docker containers seem to ignore ufw rules. Supposedly, iptable rules are respected but I haven’t learned iptables yet so I can’t verify.

    • iii@mander.xyz
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      edit-2
      7 days ago

      There’s a forked ufw specifically to solve docker’s issues. (1)

      But yes, docker + ufw is something to be carefull about.

    • danA
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      7 days ago

      Docker really doesn’t like firewalls, and doesn’t seem to play nicely with them.