OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Using the API how can I list the contents of a MAC alias?
« previous next »
  • Print
Pages: [1]

Author Topic: Using the API how can I list the contents of a MAC alias?  (Read 800 times)

sja1440

  • Jr. Member
  • **
  • Posts: 86
  • Karma: 6
    • View Profile
Using the API how can I list the contents of a MAC alias?
« 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?
Logged

sja1440

  • Jr. Member
  • **
  • Posts: 86
  • Karma: 6
    • View Profile
Re: Using the API how can I list the contents of a MAC alias?
« Reply #1 on: September 25, 2024, 03:12:41 pm »
So it looks as if it cannot be done.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Using the API how can I list the contents of a MAC alias?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2