OPNsense Forum

English Forums => Development and Code Review => Topic started by: sja1440 on September 17, 2024, 12:38:56 PM

Title: Using the API how can I list the contents of a MAC alias?
Post by: sja1440 on September 17, 2024, 12:38:56 PM
I already successfully use the API for manipulating FreeRADIUS users and reading DHCPv4 leases.

Using the OPNSense API Reference, I have been unable to discover how to list the contents of any specific Firewall Alias. I have tried many commands for both the alias and alias-util controllers.

Can this be done?

If so, could somebody provide a one line hint using curl?
Title: Re: Using the API how can I list the contents of a MAC alias?
Post by: sja1440 on September 25, 2024, 03:12:41 PM
So it looks as if it cannot be done.