
Am I the only one who ALWAYS has to look up the syntax for „ufw allow“?
I just can‘t seem to memorize it…
#debian #linux #admin
#selfhosted #selfhosting #selfhost
I write long lists of iptables rules in a bash script.
Since I always have examples for whatever I'm about to change, it really doesn't take long.
@kjuh nope. I never have time because I’m always busy looking up the syntax for iptables -A INPUT -m TCP —dport 80 -j ACCEPT
@kjuh
I use firewalld. It's IHMO easier to configure, it integrates nicely with NetworkManager (it can pick different zone depending on which wifi you're connected to) and works with docker (while ufw does not and requires additional hacks: https://github.com/chaifeng/ufw-docker )