OPNsense

OPNsense reference — open-source FreeBSD-based firewall and routing platform covering the full gateway function.

OPNsense is an open-source firewall and routing platform based on FreeBSD. It is a fork of pfSense, with a stronger emphasis on community ownership, a cleaner UI, and more frequent security updates. Both are descendants of m0n0wall.

It covers the full gateway function: stateful firewall, NAT, DHCP, DNS, TFTP, VPN, traffic shaping, and IDS/IPS — all through a web UI or via the API.


Feature overview

FeatureNotes
Stateful firewallZone-based rules, aliases, scheduling
NATOutbound, inbound (port forwarding), 1:1
DHCPISC DHCPv4 and Kea; supports network boot options
DNSUnbound resolver with DNSSEC; optional forwarding
TFTPSimple server at /usr/local/tftp; used for PXE boot
VPNWireGuard, OpenVPN, IPsec
IDS/IPSSuricata integration
Traffic shapingHFSC, PRIQ, CAKE
BGP / routingFRRouting plugin available (not enabled by default)

OPNsense vs pfSense vs VyOS

OPNsensepfSenseVyOS
BaseFreeBSDFreeBSDDebian Linux
LicenseBSD (true FOSS)BSL (mixed)GPL
ModelFirewall applianceFirewall applianceNetwork OS
Config interfaceWeb UI + APIWeb UICLI (commit/rollback)
BGPVia FRRouting pluginVia FRRouting pluginNative (FRRouting built-in)
Typical useEdge gateway, firewallEdge gateway, firewallRouter, BGP peer, lab router VM

OPNsense and pfSense are both appliance-style: you configure them through a UI and they manage all the underlying services for you. VyOS is a network OS in the Juniper/Cisco tradition — CLI-first, commit/rollback, intended for use as a router or BGP peer rather than a full gateway appliance.


Built with Hugo
Theme Stack designed by Jimmy