Skip to main content
Version: 1.34.0

OPNsense

Firewall

OPNsense is an open-source, easy-to-use, and easy-to-build firewall and routing platform

Widgets & Capabilities​

Firewall MonitoringDisplays a summary of firewalls.
Details

Adding the integration​

You can find how to add the integration on the Integrations Management documentation page.

Secrets​

info
This integration does not require full API access to the firewall. The following guide outlines the process for creating a restricted OPNsense user with a scrambled password, designed exclusively for API access. This ensures minimal permissions and prevents local login capability.
NameDescription
Api Key (Key)
The Key part of the API Key for authentication.
Api Key (Secret)
The Secret part of the API Key for authentication.

Steps to retrieve the credentials:

  1. Log in to the OPNsense web interface as an administrator
  2. Navigate to System → Access → Users
  3. Click the + (Add) button to create a new user
  4. Fill in the user details:
    • Username: Enter a unique name
    • Password: Leave empty
    • Scrambled Password: Enable this option
    • Full name: (Optional) Add a descriptive name
  5. In Privileges section → Select the option below:
    • Lobby: Dashboard
    • Reporting: Traffic
  6. Click Save
  7. Return to the Users list
  8. Find the user and click the ticket icon in the Commands column
  9. Click Yes in the popup to confirm
  10. A txt file will download automatically, containing: Key and Secret
  11. Save this file securely—this information will only be shown once