OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: cttechcorp on June 22, 2021, 04:52:49 PM

Title: Port Alias List/Table
Post by: cttechcorp on June 22, 2021, 04:52:49 PM
We use the URL Table to pull an internally maintained blacklist of IPs across all of our firewalls.    Is it possible to add a "Port" Table as well, to pull a list of dynamic ports into an alias?
Title: Re: Port Alias List/Table
Post by: ArminF on June 24, 2021, 06:53:57 AM
Maybe the API would do the job for you. You can install the addon on the firmware plugins.
os-firewall

https://docs.opnsense.org/development/api/core/firewall.html
Then you could setup a call which would update your Alias Port list.