• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

A REST API or CLI to configure pfSense

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 3 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    maayan
    last edited by May 22, 2017, 11:41 AM

    Hello,

    I am reviewing possibilities for integration with pfSense and I'm looking for a REST API or CLI.

    Do you know if there is something available?

    Thanks.

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by May 22, 2017, 12:46 PM

      Not yet, but it's on the roadmap.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • N
        ndj
        last edited by Mar 17, 2019, 6:54 AM

        You could try the FauxAPI pfSense package together with the pfsense-fauxapi Python package that provides both a Python library interface and a command-line interface.


        FauxAPI package install

        set fauxapi_base_package_url='https://raw.githubusercontent.com/ndejong/pfsense_fauxapi_packages/master'
        set set fauxapi_latest=`fetch -qo - ${fauxapi_base_package_url}/LATEST`
        fetch ${fauxapi_base_package_url}/${fauxapi_latest}
        pkg-static install ${fauxapi_latest}
        
        • https://github.com/ndejong/pfsense_fauxapi

        pfsense-fauxapi client side install

        pip3 install pfsense-fauxapi
        
        • https://github.com/ndejong/pfsense_fauxapi_client_python
        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received