I want to allow a list of (around 100) IP addresses to access a website on an ubuntu server. I'd like to be able to refresh the list via cron.
I'm trying to do it with UFW. I thought this might be easier to do via an app profile. Is this the best approach?
[My App]
title = "My Web"
description = "Allows to access web"
ports = 80/tcp|443/tcp
How can I add the list of allowed IP's? I want to add something like this to the profile:
ips=[/var/www/allowed_ips.txt]