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.
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