ENEnglish
Arrange a call

OPNsense overview

An open-source firewall and routing platform based on FreeBSD, developed by Deciso B.V. in the Netherlands and available since January 2015. Functionally on a par with commercial next-generation firewalls, but different in licensing and transparency.

Updated on

Fact sheet

Vendor
Deciso B.V., Netherlands
Base
FreeBSD, pf packet filter
Licence
BSD-2-Clause
Releases
January and July
Since
January 2015

Origins

Where OPNsense comes from

OPNsense started in 2014 as a fork of pfSense, with the aim of rebuilding code quality, security and openness from the ground up. Since then the platform has been fundamentally reworked: a new interface, a consistent REST API and a modular back end.

Architecture

  • FreeBSD as the operating system
  • pf as the firewall engine
  • Suricata for IDS/IPS
  • Unbound for DNS, strongSwan for IPsec
  • every setting also available via API

Security at the core

  • regular security updates from signed package repositories
  • two-factor authentication for the web interface and VPN
  • role-based permissions for administrators
  • no telemetry to the vendor, no mandatory cloud

Features

Feature set

AreaFeaturesTypical use
Firewallstateful packet filter, aliases (hosts, networks, ports, GeoIP, URL tables), rule groups, schedules, floating ruleszone separation, segmentation, access control
NATport forwarding, outbound NAT, 1:1 NAT, NPTv6, NAT reflectionpublishing internal services
Routinggateway groups, multi-WAN with failover, policy-based routing, OSPF and BGP via FRRtwo providers, site networks, data centre
VPNIPsec (IKEv1/IKEv2), WireGuard, OpenVPN, client exportsite-to-site links, home working, field staff
IDS/IPSSuricata in IDS or inline IPS mode, ET Open rules, optional commercial rule setsdetecting and blocking known attacks
Web and applicationsproxy with category filtering, optionally Zenarmor for Layer 7 controlweb filtering, making shadow IT visible
DNS and DHCPUnbound with blocklists and DNS over TLS, Kea or Dnsmasqcentral name resolution, blocking malware domains
High availabilityCARP, pfsync, configuration syncmaintenance and hardware faults without downtime
Authenticationlocal users, LDAP/Active Directory, RADIUS, TOTPsecuring VPN and admin access
Operationsconfiguration history with rollback, automatic backups, REST API, NetFlow, Telegraf, Zabbixtraceability, automation

Plugins

Extensible without bending the base

Zenarmor

Layer 7 application control and web filtering.

CrowdSec

Shared blocklists against known attacker IPs.

Wazuh agent

Connection to SIEM and SOC, for example at NEOSEC.

ACME

Automatic Let’s Encrypt certificates.

HAProxy and nginx

Reverse proxy and load balancing for published services.

FRR

Dynamic routing with OSPF and BGP.

Editions

Community or Business Edition

Licensing is per firewall, not by users, throughput or features.

Community EditionBusiness Edition
Costfree of chargeannual licence per firewall
Code baseidentical coreidentical core
Releasesnew features firstmature releases with a time lag
Additional features–including OPNcentral for multiple firewalls
Package sourcecommunity mirrorcommercial repository
Our recommendationlab, testing, small environmentsproduction use in companies, medical centres and hospitals

To be honest

Where OPNsense fits, and where it does not

Ideal for

  • perimeter firewall with IDS/IPS
  • segmentation of internal networks and OT
  • site-to-site connectivity and home-working VPN
  • high-availability clusters
  • environments with documentation obligations

Where we advise against it

  • if a vendor cloud is mandatory for management
  • if endpoint integration such as Sophos Synchronized Security is central to your concept
  • if the email gateway is to run in the same box

Release cycle: OPNsense releases a new major version twice a year, in January and July (scheme YY.1 and YY.7). In between, security and bug fixes follow regularly. This lets you plan maintenance windows a year in advance.

FAQ

Frequently asked questions

Is OPNsense the same as pfSense?

No. OPNsense emerged from pfSense in 2014 but has since been developed independently and largely rewritten. The interface, API, release cycle and vendor are different.

Does OPNsense also run virtually?

Yes, on Proxmox, VMware, Hyper-V, KVM and in the cloud. As a perimeter firewall we usually recommend dedicated hardware.

What happens when the Business licence expires?

The firewall keeps running in full and can be switched to the community package source.

Contact

Is OPNsense right for your network?

We will give you an honest answer, even if it is no.

Searches all pages in English.