Dart GPL-3.0

OPNsense_Manager

An opensource mobile app that can be used to manage OPNsense routers

E

Etregin

Dernière activité 19 sept. 2026
Etregin/OPNsense_Manager

172

étoiles

4

forks

2

issues ouvertes

Ce README est souvent en anglais.

OPNsense Manager

A Flutter mobile application for managing OPNsense firewalls and routers.

Contributors Forks Stargazers Issues License

Get it on Google Play Download on the App Store Get it on F-Droid

About

OPNsense Manager lets you monitor and manage OPNsense from a mobile device. It supports firewall management, network monitoring, VPN management, services, profiles, and system information through the OPNsense API.

The app is free to download on Google Play and the App Store. Banner ads appear on informational screens such as the Dashboard and Settings, and are never shown on operational screens such as firewall rule editing or VPN controls. A one-time in-app supporter purchase removes all ads permanently. F-Droid and GitHub builds are always ad-free and include no in-app purchases.

If you find OPNsense Manager useful, you can also support its development with a crypto donation:

USDT / USDC:

0xe0b9015117a4a69131481c2e9c1553dde839df18

Donation QR code

Supported networks include BEP20, BSC, ERC20, Base, Polygon, Arbitrum, and Avalanche C-Chain. Binance gift cards can be sent to etreginwow@gmail.com.

Features

Authentication and profiles

  • API key and secret authentication.
  • Multiple OPNsense profiles.
  • Encrypted credential storage.
  • Profile import and export.
  • PIN and biometric app locking.
  • Demo mode for exploring the app without a firewall connection.

Dashboard and system

  • System information, version, platform, uptime, and resource usage.
  • Gateway and service status.
  • Thermal sensor information where supported.
  • Firmware update checks, live logs, upgrade detection, and reboot handling.
  • Start, stop, restart, and inspect OPNsense services.

Firewall

  • Create, edit, delete, enable, and disable firewall rules.
  • Automatic rules with read-only restrictions where applicable.
  • Advanced rule options, protocols, ports, aliases, categories, and interfaces.
  • Live firewall logs with filtering, search, detail views, and copy support.
  • Firewall alias management with search, filtering, create, edit, delete, enable, disable, and detail views.
  • Host, network, port, URL, GeoIP, and other alias types.
  • Alias autocomplete, GeoIP region selection, URL authentication, expiry fields, and API validation.

Network

  • Live network monitoring with connection details, filtering, and device controls.
  • DHCP lease management with search, supported DHCP backends, text selection, and long-press copy.
  • Neighbor discovery with pagination, search, and service controls.
  • Wake-on-LAN support where the OPNsense plugin is available.

VPN

  • OpenVPN instances, client overrides, connection status, and logs.
  • WireGuard servers, peers, peer generation, status, and logs.
  • Tailscale authentication, settings, status, and subnet management.

Other

  • Light and dark themes.
  • Multiple languages.
  • Configurable automatic refresh.
  • Material Design interface for phones and supported screen sizes.
  • Free on Google Play and the App Store; banner ads appear on informational screens only.
  • One-time in-app supporter purchase removes all ads permanently.
  • F-Droid and GitHub builds are ad-free and include no in-app purchases.

Screenshots

Dashboard System Info Firewall Rules
Dashboard System Info Firewall Rules
Firewall Logs Live Network Monitor DHCP Leases
Firewall Logs Live Network Monitor DHCP Leases
Services Settings Menu
Services Settings Menu

Requirements

  • OPNsense with API access enabled.
  • An API key and secret.
  • Android 5.0 or newer for Android builds.
  • Flutter 3.44.2 or newer when building from source.

OPNsense API Setup

  1. Open System → Access → Users in OPNsense.
  2. Create or edit the API user.
  3. Generate an API key and secret.
  4. Add the user to the admins group, or create a custom group with the permissions required by the features you use.

Use HTTPS whenever possible. If the OPNsense instance uses a self-signed certificate, enable the self-signed certificate option for the profile in the app.

Installation

Android

Download the app from Google Play, F-Droid, or the latest GitHub release.

Build from source

git clone https://github.com/Etregin/OPNsense_Manager.git
cd OPNsense_Manager
flutter pub get
flutter run

Build an APK with:

flutter build apk

Security

  • API credentials are stored using platform-specific encrypted storage.
  • HTTPS is recommended for all API communication.
  • Self-signed certificates are disabled by default.
  • PIN and biometric locking protect local app access.
  • Destructive actions require confirmation.
  • Do not share API keys, secrets, or sensitive logs in issues or screenshots.

Troubleshooting

API connection issues

  • Confirm the OPNsense address, port, API key, and secret.
  • Check that the API user has the required permissions.
  • Verify network access from the mobile device.
  • Check the self-signed certificate setting if applicable.

Biometric authentication issues

Confirm that biometrics are enabled on the device, enrolled, and available to the app. Use the configured PIN as a fallback.

Service or firewall actions do not work

Check the API user's permissions and confirm that the relevant service, plugin, or OPNsense feature is installed and available.

Support the Project

Remove ads

A one-time supporter purchase is available from Settings → Support the Project inside the app on Google Play and the App Store. Purchasing removes all banner ads permanently.

Previously purchased the app?

If you paid for OPNsense Manager before it became free, your ad-free experience is preserved. Email Etreginwow@gmail.com with your Google Play or App Store order number and we will send you a promo code to unlock ad-free access at no charge.

Contributing

  1. Fork the repository.
  2. Create a feature branch.
  3. Make and test your changes.
  4. Run flutter analyze.
  5. Open a pull request with a clear description.

For bug reports, include the OPNsense version, app version, steps to reproduce, and relevant logs. Do not include credentials or other sensitive data.

Architecture

The app uses Flutter with an MVVM structure. Screens, ViewModels, services, models, and shared widgets are organized under lib/.

License

This project is licensed under the GNU General Public License v3.0. See LICENSE.

Projets similaires

Mobile app for interacting with your OpenWrt device.

Dart
Hhagaygo
329 étoiles29

OPNsense GUI, API and systems backend

PHPapibsdcaptive-portal
Oopnsense
4,7 k étoiles996

Main repository for pfSense

PHPfirewallfreebsdpfsense
Ppfsense
5,7 k étoiles1,6 k