A firewall and router OS for a PC or appliance, an alternative to Sophos or UniFi gateways. It includes VPN, intrusion prevention, proxy and captive portal.
Open sourceTechnical setup
Free alternative to
Code activity
- Stars
- 4,836
- Forks
- 1,047
- Open issues & PRs
- 348
- Last commit
- 4 days ago
Details
- Type
- Open source
- License
- BSD-2-Clause
- Written in
- PHPVoltPythonJavaScript
- Platforms
- Self-hosted
- Ease of use
- Technical setup

Pros
- Full web interface with regular updates
- VPN, IDS/IPS, web filtering and captive portal
- Runs on old PCs or cheap mini machines
Cons
- You need networking knowledge to configure it well
- Requires a dedicated box with at least two network ports
Use OPNsense instead of
- gSophos FirewallA pfSense fork with a clean interface, regular releases, built-in IDS/IPS and content-filtering plugins that cover Sophos-style protection.
- gUniFi Security GatewayFriendly web interface with WireGuard VPN, intrusion detection and traffic reports built in, a good fit for replacing a USG while keeping browser-based management.
Similar apps
No apps match. Try removing a filter.
How is the 68/100 "Health" score calculated?
Dorabot computes it weekly from public GitHub data; it is not a review of software quality: 40 points for code freshness (a commit in the last 30 days earns full points), 25 points for popularity by stars, 20 points for a recent release, 15 points for the ratio of open issues to stars. 80+ is Good, 60–79 Fair, below 60 Weak.
FAQ
Is OPNsense free?
Yes. OPNsense is open source (BSD-2-Clause license) and free for personal and commercial use.
Which platforms does OPNsense run on?
OPNsense is available for self-hosting on your own server.
What can I use OPNsense instead of?
OPNsense is a free alternative to Sophos Firewall and UniFi Security Gateway.