Reposting my question here to cast a wider net

  • pastermil@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    13 days ago

    Generally speaking, if you have to ask how to do something in UFW, chances are you can’t do it in UFW. That thing is supposed to dumb down your firewall config. So if you’re trying something complicated, that ‘uncomplicated firewall’ is not for you. Of course, you can always add custom rules with it, but that’s just writing your own iptables.

    • edinbruh@feddit.itOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      13 days ago

      But in this case it’s something it should do, it’s a rule not behaving like it should (probably because I’m missing something)

      • pastermil@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 days ago

        Is it an iptable rule? If so, have you tried running that rule with the UFW disabled? Perhaps your rule conflicts with the ones generated by UFW?

        • edinbruh@feddit.itOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          13 days ago

          It’s a ufw rule. I also have two iptables rules but they have nothing to do with this