this post was submitted on 23 May 2025
10 points (100.0% liked)

Linux Questions

2089 readers
8 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

Reposting my question here to cast a wider net

you are viewing a single comment's thread
view the rest of the comments
[–] pastermil@sh.itjust.works 2 points 1 month ago (1 children)

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.it 1 points 1 month ago (1 children)

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 1 points 1 month ago (1 children)

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.it 1 points 1 month ago

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