For an open source firewall for network security, the strongest matches are pfsense/pfsense (pfSense is a fully-featured open-source firewall OS that provides), openwrt/openwrt (OpenWrt is a Linux distribution for embedded networking hardware) and kylemanna/docker-openvpn (This is a containerized OpenVPN server, which provides VPN). pritunl/pritunl and fail2ban/fail2ban round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
We curate open-source GitHub repositories matching “open source firewall”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
pfSense is an open-source operating system that turns a standard computer into a dedicated firewall and router with a web-based management interface. It runs on the FreeBSD kernel with the pf packet filter for stateful firewall and NAT processing, and manages all settings through a PHP-driven web interface that writes to XML configuration files. The platform provides a comprehensive set of network security capabilities accessible through its browser-based control panel. Users can configure packet filtering rules to control traffic flow between network segments, manage network address translat
pfSense is a fully-featured open-source firewall OS that provides stateful packet inspection, VPN servers, intrusion detection/prevention via packages, traffic shaping, web filtering, multi-WAN load balancing, a web-based management UI, and an extensible package system — exactly matching all your required capabilities.
OpenWrt is a modular Linux distribution designed for resource-constrained networking hardware. It functions as a comprehensive network routing platform, providing a complete build environment that allows users to generate custom firmware images for a wide variety of embedded processor architectures. By utilizing a standardized cross-compilation toolchain and a package-based ecosystem, it enables the creation of tailored operating systems for specific hardware deployments. The project distinguishes itself through a hardware abstraction layer that normalizes interactions across diverse chipsets
OpenWrt is a Linux distribution for embedded networking hardware that includes netfilter-based firewall capabilities, a web-based administration UI (LuCI), and a package system offering VPN, QoS, IDS/IPS, and multi-WAN features, directly matching the request for an open-source firewall operating system.
This project provides a complete OpenVPN server deployment packaged as a Docker container, with an integrated EasyRSA certificate authority for automated public-key infrastructure management. It handles the full lifecycle of a VPN server, from initial PKI bootstrap and server configuration generation to client certificate issuance and revocation, all within a containerized environment. The server is configured entirely through Docker environment variables, eliminating the need for manual configuration file editing. It supports time-based one-time password (TOTP) authentication as a second fac
This is a containerized OpenVPN server, which provides VPN functionality that a firewall might include, but it does not offer stateful packet inspection, intrusion detection, traffic shaping, web filtering, or multi-WAN load balancing, so it is not a full network firewall solution.
Pritunl is an enterprise VPN gateway and server manager used to deploy and configure OpenVPN and WireGuard servers through a centralized web interface. It functions as a VPN access control system and an SSH certificate authority, issuing short-lived signed certificates to manage secure shell access and network entry without manual public key distribution. The platform acts as an SSO integrated VPN controller, synchronizing user access and organization mapping with third-party identity providers via OAuth, OIDC, and SAML. It supports high-availability deployments by using database-backed clust
Pritunl is a dedicated VPN gateway and server manager, not a general network firewall—it lacks stateful packet inspection, intrusion detection, and traffic shaping, so it does not fit the search for an open-source firewall solution.
Fail2ban is an intrusion prevention system that monitors system log files to detect malicious activity and automatically enforce security policies. By parsing log data in real time, the tool identifies patterns of unauthorized access or repeated authentication failures and responds by dynamically updating network access control lists to restrict offending sources. The software functions as a firewall automation tool that maintains stateful tracking of suspicious behavior across various network services. It utilizes a regex-driven pattern matching engine to identify specific attack signatures,
Fail2ban is an intrusion prevention system that automates firewall rule updates based on log analysis, but it is not a standalone firewall — it lacks the core network-layer features like stateful packet inspection, VPN support, and traffic shaping that a complete firewall solution would provide.
wireguard-ui is a web-based management interface and configuration generator for WireGuard VPN servers. It provides an authenticated administrative dashboard that allows users to manage VPN tunnels and peer connections through a graphical interface instead of manually editing configuration files. The project automates the creation of cryptographic key pairs and produces connection files and QR codes for distributing network settings to clients. It includes tools for tracking client metadata, such as names and email addresses, to identify individual users associated with specific connection se
WireGuard UI is a management interface for WireGuard VPN connections, not a full firewall—it lacks the core firewall features like stateful inspection, IDS/IPS, and traffic shaping that this search requires.
PiVPN is an automated VPN deployer and server manager designed to establish secure gateways for remote network access. It provides a command-line tool for the installation and configuration of WireGuard and OpenVPN servers on Linux systems, with specific optimizations for single-board computers like the Raspberry Pi. The project distinguishes itself through a wrapper-based management interface that abstracts complex server commands into simplified operations. This includes automated handling of firewall rules, port forwarding, and package installation, as well as the ability to export client
PiVPN is a focused VPN server deployment tool that automates OpenVPN and WireGuard setup and manages related firewall rules, but it does not provide the comprehensive network firewall features like stateful packet inspection, intrusion detection, traffic shaping, or web filtering that a dedicated firewall solution would include.
dnscrypt-proxy is an anonymizing DNS proxy and encrypted DNS resolver. It acts as a local DNS forwarder that secures internet lookups by wrapping standard DNS queries in encrypted tunnels using the DNSCrypt and DNS-over-HTTPS protocols to prevent eavesdropping and tampering. The project provides network privacy protection by routing DNS requests through anonymized relays to obfuscate the client's original IP address. It further distinguishes itself through traffic management capabilities, such as mapping specific domains to designated resolvers and distributing queries across multiple servers
dnscrypt-proxy is a DNS encryption and anonymization tool that secures DNS lookups and offers basic domain-level filtering, but it is not a network firewall—it lacks stateful packet inspection, VPN support, intrusion detection, traffic shaping, and the other core firewall features you are looking for.
Firezone is a zero trust network access platform that uses WireGuard to provide identity-based connectivity to internal network resources. It functions as a virtual private network that synchronizes authentication and user groups via OpenID Connect providers. The system implements a group-based access control engine to enforce least privilege by restricting network resources to specific user groups. It utilizes holepunching and relay protocols for NAT traversal to establish encrypted tunnels through firewalls without requiring inbound ports. The platform includes a control plane for managing
Firezone is a zero-trust VPN platform using WireGuard, not a full firewall with stateful inspection, IDS/IPS, or traffic shaping — it handles secure remote access but not the broad traffic control this search asks for.
V2ray-core is a modular network proxy engine designed to manage inbound and outbound traffic through a unified, rule-based processing pipeline. It functions as a background service that operates multiple concurrent network protocols within a single process, allowing for flexible traffic management and the independent handling of diverse communication streams. The project distinguishes itself through a highly decoupled architecture that treats network protocols as swappable modules, enabling the encapsulation of various transport layers into a consistent stream-based model. It features a centr
V2ray-core is a modular network proxy engine for traffic routing and protocol switching, not a firewall—it lacks stateful packet inspection, intrusion detection, web filtering, and the other core features of a dedicated network security firewall.
Algo is a cloud VPN deployment tool and WireGuard orchestrator designed to automate the provisioning and configuration of personal VPN servers across multiple cloud infrastructure providers. It functions as a multi-cloud infrastructure provisioner and a VPN client configuration generator, creating the necessary tunnels and connection profiles for secure device connectivity. The project distinguishes itself by integrating a network ad-blocking DNS server directly into the deployment, filtering advertisements and malicious domains for all connected clients. It further simplifies the onboarding
Algo is a VPN deployment and orchestration tool for automating WireGuard and IPSec servers, not an open-source network firewall — it lacks stateful packet inspection, intrusion detection, traffic shaping, web filtering, and other core firewall capabilities.
Nginx is a high-performance HTTP server and reverse proxy designed to handle high-concurrency traffic through an efficient, event-driven architecture. It functions as a versatile traffic management gateway and content delivery accelerator, providing the infrastructure necessary to route client requests, balance loads across backend servers, and serve static assets with minimal resource consumption. The project distinguishes itself through a master-worker process model that separates configuration management from request processing, ensuring stable operations under heavy load. Its modular requ
Nginx is an HTTP server and reverse proxy, not a network firewall—it lacks the stateful packet inspection, VPN, IDS/IPS, and web filtering capabilities this search requires.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| pfsense/pfsense | 5.7K | PHP | Apache-2.0 | |
| openwrt/openwrt | 27.2K | C | NOASSERTION | |
| kylemanna/docker-openvpn | 9.1K | Shell | MIT | |
| pritunl/pritunl | 5K | Python | NOASSERTION | |
| fail2ban/fail2ban | 18K | Python | NOASSERTION | |
| ngoduykhanh/wireguard-ui | 5.1K | Go | MIT | |
| pivpn/pivpn | 8K | Shell | MIT | |
| dnscrypt/dnscrypt-proxy | 13.4K | Go | ISC | |
| firezone/firezone | 8.7K | Elixir | Apache-2.0 | |
| v2fly/v2ray-core | 34.1K | Go | MIT |