Access Lists: support dynamic/remote IP sources (like Firewall alias URL tables)

Started by dinguz, Today at 09:01:14 PM

Previous topic - Next topic
In Firewall > Aliases you can create a "URL Table (IPs)" alias that periodically re-fetches its contents from a remote source (e.g. Cloudflare's official IP ranges), so the alias stays current without manual maintenance.

The Caddy plugin's Access Lists (Services > Caddy > Access) only support static, manually entered CIDR blocks. For something like a Cloudflare IP list, this means every range change on Cloudflare's end has to be applied by hand, otherwise the list silently drifts out of sync.

Would it be possible to either:

  • let an Access List reference an existing Firewall alias, or
  • give Access Lists their own periodic remote-fetch option, similar to URL Table aliases

so lists like this stay in sync automatically instead of requiring manual upkeep?
Note: This post may have been lightly edited by AI for spelling and minor readability improvements. The content and findings are entirely my own.