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.
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)
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?
It's a ufw rule. I also have two iptables rules but they have nothing to do with this
this post was submitted on 23 May 2025
10 points (100.0% liked)
Linux Questions
2003 readers
6 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 2 years ago
MODERATORS