OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • OpnSense Webservices API / REST API?
« previous next »
  • Print
Pages: [1]

Author Topic: OpnSense Webservices API / REST API?  (Read 6657 times)

StevieT

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
OpnSense Webservices API / REST API?
« on: February 04, 2017, 11:36:09 pm »
Hi,
I'm currently using pfSense for the internal firewall/router for my labs. I've been able to automate just about every portion of my lab build process using PowerShell with the exception of configuring the firewall. I generate XML config files on the fly, but I still have to manually install them at build time.

Every now and then I do a search to see what Open Source firewalls are available that provide automation functionality (SSH, REST API etc.) and I saw OpnSense has a mention of "REST API" on the home page. I got a little excited and started looking into its scope; is it limited to certain functionality or is it fully functional.

I've not been able to find anything in the documentation aside from one page (https://docs.opnsense.org/development/frontend/routing.html) that's a little vague on details.

As it's promoted on the front page as a "choose us because..." type feature, I was expecting at least some sort of mention somewhere in the documentation about it.

So... Does OpnSense have a functional web services/REST API or is it a road map feature?

If OpnSense does have a REST API, how is it used, how is it secured and where is the documentation about it?

Thanks in advance.

Steve
« Last Edit: February 04, 2017, 11:38:35 pm by StevieT »
Logged

sceptiQ

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: OpnSense Webservices API / REST API?
« Reply #1 on: April 27, 2017, 02:33:07 pm »
+1

:)
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2768
  • Karma: 199
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: OpnSense Webservices API / REST API?
« Reply #2 on: April 27, 2017, 03:18:20 pm »
https://docs.opnsense.org/development/how-tos/api.html
Logged

sceptiQ

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: OpnSense Webservices API / REST API?
« Reply #3 on: April 27, 2017, 04:48:47 pm »
thx!

i searched rest but not api... :/
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • OpnSense Webservices API / REST API?
 

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