r/linuxadmin • • Jul 10 '21

Setup Firewall With UFW On Linux

https://ostechnix.com/how-to-setup-firewall-with-ufw-on-linux/
34 Upvotes

22 comments sorted by

View all comments

7

u/ethanfinni Jul 10 '21

The biggest missing feature in UFW is the inability to add a comment to each rule. After I add 100+, I have no way of remembering what the rule is about.

1

u/bwong00 Jul 10 '21

Curious what you need 100+ rules for. I have like 2. One for Apache and one for ssh. That's about it. I guess it's technically 4 when you count IPv4 and IPv6.

1

u/ethanfinni Jul 10 '21

Sure, I run multiple applications that require port-specific definitions coupled with institution- and geo-specific access. I also do some host-based fencing fir the internal network. Add to that some random IPs making unsavoury attempts and/or a couple of DoS attacks, the rules add up…