I have a giant list of IP addresses I need to manage incoming access for. They are also constantly changing.
Is there a way to create a group of IP addresses/ranges for a firewall rule?
That way, when a rule needs to change/add/delete for that group, I can just change the rule, and not have to type in the whole group?
Something analog to:
ufw allow in from IP_GROUP_1 port 443
If not, any tips you have on this are valued.
Thanks!
EDIT: answers for IPTABLES and not UFW are fine.
sudo ufw allow proto tcp from 192.168.1.16/28 to 192.168.1.48 port 80
? – Rinzwind Jul 02 '19 at 12:04