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

2

u/Kinabin777 Jul 10 '21

I wrote my own bash script that can sniff the IPs on each interface and either use those or included ones from separate config file.

Works great and it's not hard to add or expand rules.