OPNsense
Open-source firewall and routing platform based on FreeBSD, forked from pfSense in 2015 and managed through a web interface.
OPNsense is a firewall and router operating system built on FreeBSD, designed to be installed on dedicated hardware or virtual machines at the edge of a network. Administrators configure it through a web interface rather than the command line. Beyond stateful packet filtering, it offers VPN servers and clients, traffic shaping, a web proxy, high availability, multi-WAN routing and an intrusion detection and prevention system based on Suricata. Its functionality can be extended through an official plugin system.
The project was started by the Dutch company Deciso, which forked the pfSense firewall in January 2015. Deciso continues to lead development and sells hardware appliances and a business edition, while the community edition remains free under the two-clause BSD license. OPNsense publishes two major releases a year, each named after an animal, with smaller updates in between. Its rewritten web interface and API separate configuration logic from presentation, which also allows automation by external tools.
OPNsense is popular with small businesses, schools and home lab builders who want enterprise-style network controls without proprietary licensing. It supports network segmentation through VLANs and per-interface rules, WireGuard and OpenVPN tunnels and centralized logging. As with any edge device, its protection depends on careful rule design, timely updates and limiting access to the management interface, which should never be exposed directly to the internet.
Key points
- OPNsense turns standard hardware or a virtual machine into a configurable firewall and router.
- Deciso forked it from pfSense in January 2015.
- Suricata-based intrusion detection and prevention is built in.
- Two major releases appear each year, each named after an animal.
In their own words
An open source, feature rich firewall and routing platform, offering cutting-edge network protection.
Related entries
Firewall
Security control that monitors network traffic and allows or blocks connections according to a set of rules, separating trusted and untrusted networks.
FreeBSD
Free and open-source Unix-like operating system descended from Berkeley Software Distribution, valued for its networking, ZFS support and permissive license.
Intrusion Detection System
Security system that monitors network traffic or host activity for signs of malicious behavior or policy violations and raises alerts for investigation.
Network Segmentation
Practice of dividing a computer network into smaller isolated zones with controlled connections, limiting how far an attacker or fault can spread.
Router
Networking device that forwards data packets between computer networks, choosing paths based on destination addresses and routing tables.
WireGuard
Lightweight VPN protocol and software with a small codebase and a fixed set of cryptographic primitives, built into the Linux kernel since 2020.
OpenVPN
Open-source VPN software and protocol that uses TLS to build encrypted tunnels for remote access and site-to-site networking.
Homelab
Personal computing environment used to experiment with servers, networking, virtualization and other technologies for learning, testing or self-hosting.