1
17.1 Legacy Series / 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
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