awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Open-Source Firewalls

Ranking updated Jul 13, 2026

For an open source firewall for network security, the first results are pfsense/pfsense (pfSense is a comprehensive, enterprise-grade firewall and security gateway that provides stateful packet inspection, a web-based management interface, VPN support, traffic shaping, and high availability clustering out of the box), opnsense/core (OPNsense is a comprehensive, enterprise-grade firewall and security gateway that provides stateful packet inspection, intrusion prevention, VPN support, traffic shaping, and high-availability clustering through a centralized web-based interface) and openwrt/openwrt. fail2ban/fail2ban and ehang-io/nps round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

We curate open-source GitHub repositories matching “best open source firewalls”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

Open-Source Firewalls

Find the best repos with AI.We'll search the best matching repositories with AI.
  • pfsense/pfsensepfsense avatar

    pfsense/pfsense

    5,675View on GitHub↗

    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 comprehensive, enterprise-grade firewall and security gateway that provides stateful packet inspection, a web-based management interface, VPN support, traffic shaping, and high availability clustering out of the box.

    PHPMulti-Protocol VPN GatewaysTraffic Shaping and PrioritizationVPN
    View on GitHub↗5,675
  • opnsense/coreopnsense avatar

    opnsense/core

    4,493View on GitHub↗

    This project is the core management framework for a security appliance, providing the primary infrastructure for firewall management, network intrusion prevention, and high-availability networking. It serves as the centralized system for controlling network security policies, filtering traffic, and administering a security appliance dashboard. The system is distinguished by its high-availability capabilities, which include synchronizing configurations and connection state tables across redundant nodes to enable automatic hardware failover. It also features a modular plugin architecture for ex

    OPNsense is a comprehensive, enterprise-grade firewall and security gateway that provides stateful packet inspection, intrusion prevention, VPN support, traffic shaping, and high-availability clustering through a centralized web-based interface.

    PHPHigh Availability NetworkingIntrusion Prevention SystemsNetwork Intrusion Detection
    View on GitHub↗4,493
  • openwrt/openwrtopenwrt avatar

    openwrt/openwrt

    27,205View on GitHub↗

    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 highly modular Linux-based network operating system that provides the core packet filtering, VPN, and web-based management capabilities required for a network firewall, though it is primarily designed as a general-purpose routing platform rather than a dedicated security appliance.

    CCustom Image BuildersEmbedded Operating SystemsFirmware Management
    View on GitHub↗27,205
  • fail2ban/fail2banfail2ban avatar

    fail2ban/fail2ban

    17,993View on GitHub↗

    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,

    This is an intrusion prevention tool that automates firewall rules based on log analysis, but it lacks the comprehensive traffic routing, VPN support, and web-based management interface required for a full network security gateway.

    PythonIntrusion Detection SystemsIntrusion Prevention Systems
    View on GitHub↗17,993
  • ehang-io/npsehang-io avatar

    ehang-io/nps

    34,090View on GitHub↗

    nps is an intranet penetration proxy server that exposes internal network services to the public internet via secure TCP and UDP tunnels. It functions as a traffic forwarder and reverse proxy, enabling external access to local services, remote desktops, and internal APIs. The project is distinguished by a centralized web-based administration interface used to configure tunnels, manage user accounts, and monitor real-time bandwidth metrics. It supports domain-based request routing and provides a mechanism to secure public services using HTTPS encryption through digital certificates. The syste

    This is a reverse proxy and tunneling tool designed for exposing internal services to the internet, rather than a network firewall or security gateway intended for traffic filtering and intrusion prevention.

    GoAdministrative InterfacesWeb Administration InterfacesBandwidth Management
    View on GitHub↗34,090
  • security-onion-solutions/securityonionSecurity-Onion-Solutions avatar

    Security-Onion-Solutions/securityonion

    4,661View on GitHub↗

    Security Onion is a security information and event management platform and network security monitoring suite. It functions as an intrusion detection system and a network traffic analysis tool designed to identify malicious activity and network intrusions through signature-based detection and host-based monitoring. The platform integrates a security case management system to organize investigations by tracking detections and grouping related security events. It provides capabilities for full packet capture, network metadata extraction, and the collection and indexing of security logs from dive

    This is a security monitoring and intrusion detection platform designed for threat hunting and log analysis rather than a network firewall that controls traffic flow and enforces security rules.

    ShellIntrusion Detection SystemsNetwork Intrusion Detection
    View on GitHub↗4,661
  • facebookarchive/augmented-traffic-controlfacebookarchive avatar

    facebookarchive/augmented-traffic-control

    4,318View on GitHub↗

    Augmented Traffic Control is a network condition simulator and Linux traffic control interface. It emulates latency, packet loss, and bandwidth limits to test how applications perform under various network qualities. The project provides a remote network shaping manager that allows users to apply and store network shaping profiles in a database for consistent simulation. This is accessible via a web-based management dashboard and a remote interface, removing the need for a local client installation. The system covers kernel-level traffic shaping to constrain outgoing traffic and includes dat

    This tool is designed for simulating network conditions and testing application performance rather than providing security-focused traffic filtering, intrusion detection, or firewall capabilities.

    PythonTraffic Shaping
    View on GitHub↗4,318
  • ntop/ndpintop avatar

    ntop/nDPI

    4,506View on GitHub↗

    nDPI is a deep packet inspection toolkit and network protocol classifier designed to identify protocols and detect security threats through packet payload inspection. It functions as a network security monitor and a traffic analysis framework used to determine the services originating network flows. The system utilizes a modular dissector architecture and a sequence-based dissector chain to interpret network traffic. It supports custom protocol definition and protocol dissector extensions, allowing for the identification of proprietary or new network protocols. The toolkit provides capabilit

    This is a deep packet inspection library and traffic analysis framework used to build security tools, rather than a complete, deployable network firewall or security gateway with management interfaces and VPN support.

    CPacket Inspection
    View on GitHub↗4,506
  • comodosecurity/openedrComodoSecurity avatar

    ComodoSecurity/openedr

    2,603View on GitHub↗

    OpenEDR is an endpoint detection and response platform designed to collect telemetry and monitor system activity to identify security breaches. It functions as a host-based intrusion detection system and telemetry collector, gathering detailed data on process, network, and file activity. The system includes a dockerized security stack that bundles search, logging, and visualization tools into containers for analyzing endpoint telemetry. It features a security event visualizer that maps process lineage and indexes logs to facilitate root-cause analysis of attacks. The platform provides capabi

    This is an endpoint detection and response (EDR) platform focused on host-based telemetry and threat hunting, rather than a network firewall or security gateway designed to control traffic flow at the network perimeter.

    C++Intrusion Detection SystemsRuntime Threat Detection
    View on GitHub↗2,603
  • acassen/keepalivedacassen avatar

    acassen/keepalived

    4,587View on GitHub↗

    Keepalived is a high availability manager and virtual IP failover tool that ensures continuous service availability. It coordinates the migration of floating IP addresses between master and backup nodes using the Virtual Router Redundancy Protocol to manage router redundancy and seamless failover. The project distinguishes itself by integrating with the Linux kernel IPVS module to function as a transport-layer load balancer. It distributes network traffic across backend servers using various scheduling algorithms and forwarding methods such as NAT, direct routing, or tunneling. The system in

    This tool provides high availability and load balancing for network services, but it lacks the packet inspection, intrusion prevention, and firewall management capabilities required for a security gateway.

    CHigh Availability NetworkingHigh Availability Routing
    View on GitHub↗4,587
  • tylertreat/comcasttylertreat avatar

    tylertreat/comcast

    10,511View on GitHub↗

    Comcast is a Linux network emulator and degradation tool used to simulate unstable or slow connections. It functions as a network impairment simulator that injects latency, packet loss, and bandwidth limits into network interfaces to verify how software handles adverse conditions. The utility serves as a TCP and UDP traffic shaper, allowing users to restrict bandwidth and filter traffic by destination address, protocol, and port. These capabilities enable the isolation of specific traffic streams to test application resilience when particular services are degraded. The tool provides broader

    This tool is a network emulator designed for testing software resilience under adverse conditions rather than a security-focused firewall or gateway for traffic control and intrusion prevention.

    GoBandwidth ManagementTraffic Filters
    View on GitHub↗10,511
  • pi-hole/docker-pi-holepi-hole avatar

    pi-hole/docker-pi-hole

    10,760View on GitHub↗

    This project provides a containerized DNS sinkhole and network-wide traffic filtering solution. It functions as a central network resolver that intercepts domain queries, allowing users to block advertisements, trackers, and malicious domains by returning null responses to connected devices. The platform distinguishes itself through its integrated DHCP server and comprehensive management capabilities, which allow for automated IP address allocation and granular control over network traffic. It supports complex filtering through regular expression matching, hierarchical rule prioritization, an

    This is a DNS-based sinkhole for blocking domains rather than a stateful packet inspection firewall or security gateway capable of managing traffic at the network layer.

    ShellAdministrative DashboardsAdministrative Interfaces
    View on GitHub↗10,760
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
pfsense/pfsense5.7KPHPApache-2.0Mar 31, 2026
opnsense/core4.5KPHPBSD-2-ClauseJun 23, 2026
openwrt/openwrt
27.2K
C
NOASSERTION
Jun 16, 2026
fail2ban/fail2ban18KPythonNOASSERTIONJun 8, 2026
ehang-io/nps34.1KGoGPL-3.0May 30, 2024
security-onion-solutions/securityonion4.7KShellNOASSERTIONJun 25, 2026
facebookarchive/augmented-traffic-control4.3KPythonNOASSERTIONApr 16, 2018
ntop/ndpi4.5KCLGPL-3.0Jun 22, 2026
comodosecurity/openedr2.6KC++otherJan 13, 2024
acassen/keepalived4.6KCGPL-2.0Jun 22, 2026

Related searches

  • an open source firewall for network security
  • an open source tool for network security
  • an open source virtual private network solution
  • an open source network monitoring tool
  • a self-hosted WAF
  • an open source alternative to Pi-hole
  • an open source vpn server solution
  • an intrusion detection system