OPNsense
An open-source firewall and routing platform; this repository holds its web GUI, API and system backend, licensed under BSD-2-Clause.
- GitHub stars
- 4.7k
- Last commit
- yesterday
- Licence
- BSD-2-Clause
- Self-hosted
- Yes

OPNsense is an open-source firewall project, and this repository contains its web GUI, API and systems backend. Its topics point to a broad feature set that includes a firewall, intrusion prevention, proxy, VPN, traffic shaping, a captive portal and routing, built on a BSD base.
The project invites developers to contribute and has designed its build process so that anyone can build and write code. Build tools are freely available in a separate tools repository, an architecture overview is on docs.opnsense.org, and the repository offers Makefile targets such as make package for assembling a package from the current state of the code. The team aims to evolve toward a new codebase gradually rather than in one big switch.
OPNsense is written mostly in PHP and is committed to staying available under the 2-clause BSD license, with every contribution required to carry the same terms. Contributions can be as simple as testing functionality, filing bug reports or sending pull requests.
Key features
- Web GUI for firewall management
- API and system backend
- Intrusion prevention and proxy
- VPN and traffic shaping
- Captive portal and routing
- BSD-based platform
Pricing: Free and open source under the BSD-2-Clause licence.
