OPNsense

OPNsense is an open-source, FreeBSD-based firewall and routing platform for securing home and small-business networks.

  • Network Services
  • Security
OPNsense is an open-source, FreeBSD-based firewall and routing platform for securing home and small-business networks. It offers intrusion detection, VPN support, traffic shaping, DNS filtering and many other features typically found in expensive commercial firewalls, with open and verifiable sources maintained by a large user community. It suits homelabbers wanting a free, self-hosted network edge appliance.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

66/100 Good

Maintained
100last commit 0 days ago
Popular
744,858 GitHub stars
Easy to install
251 install platform, install notes
Light to run
303 GB minimum RAM
Security check
53no serious findings, 5 minor, tests, OpenSSF Scorecard 5.1/10

Availability: platform listings confirmed today

GitHub stars
4,858
Open issues
352
Last commit
2026-12-03
License
BSD-2-Clause
Activity
steady

Checked today - source: GitHub (opnsense/core)

Resources & Compatibility

Minimum requirements: 3 GB RAM, 2 CPU core(s), 4 GB disk.

Checked today - source: Docker Hub image tags and published docs

First-install notes

  • Install extra software with the pkg command OPNsense (which is based on FreeBSD, not Linux) installs add-on software with the 'pkg install' command run from the console, e.g. 'pkg install nano'. Knowing this lets you add plugins and tools directly when they're not available in the web interface. source
  • Troubleshoot VPN connections from the command line If your OpenConnect VPN client won't connect, run '/usr/local/etc/rc.d/opnsense-openconnect start' as root from the console. It prints error messages that help you figure out what's wrong. source
  • VMware or Xen virtual machines need extra plugins If you run OPNsense inside VMware or Xen, install the matching guest plugin ('pkg install os-vmware' or 'pkg install os-xen') so the firewall works smoothly with the virtual machine software. source
  • Virtual machine setup Running OPNsense in VMware or Xen virtual machines requires extra plugins installed on the guest. source

Fetched today - each note links to its source

Alternatives (4)

  • IPFire - IPFire is a server distribution with intended to use as a firewall.
  • MikroTik RouterOS - Linux-based OS for transforming PCs into customizable routers with advanced firewall, VPN support, bandwidth control, wireless features, an…
  • OpenWrt - OpenWrt is free software that replaces the standard programme on your internet router.
  • pfSense - pfSense is a free and open source firewall and router that also features unified threat management, load balancing, multi WAN, and more.

Checked today - source: AlternativeTo

Common questions

Can I install extra software on OPNsense like on a Linux server?

OPNsense is FreeBSD-based, not Linux, so add-on software is installed with the 'pkg install' command from the console, e.g. 'pkg install nano'. This lets you add plugins and tools that aren't available in the web interface.

What do I need to know when running OPNsense in VMware or Xen?

You should install the matching guest plugin ('pkg install os-vmware' or 'pkg install os-xen') so the firewall works smoothly with the virtualization software. Known virtual-environment issues and solutions are also documented.

My OpenConnect VPN client won't connect — how do I debug it?

Run '/usr/local/etc/rc.d/opnsense-openconnect start' as root from the console; it prints error messages that help you diagnose the problem.

How do I update the OPNsense core package during development?

Run 'make upgrade' in the repository, which builds the package and replaces the currently installed package on the system. 'make update' pulls the latest commits from the current branch first.

Answers sourced from docs.opnsense.org, docs.opnsense.org, docs.opnsense.org, github.com

Community

Collected today - public community threads