Skip to content

Best Open Source Firewalls and network security Software (2026)

34 open source tools in this category · top 30 ranked · Data checked November 24, 2026 · By , founder & editor

Firewalls and network security software filters traffic and protects hosts and sites from unauthorized access. The right type depends on where you run it. A web application firewall sits in front of a site as a reverse proxy. A per-app firewall controls what installed programs can reach. Check for custom rules, OWASP Core Rule Set support, rate limiting, bot protection, DNS filtering, traffic logs and a graphical interface.

The open source choices are split by platform. SafeLine, BunkerWeb and modsecurity protect web apps. Anubis blocks AI scraper bots. OpenSnitch prompts you on outbound connections on Linux, simplewall filters traffic on Windows, and NetGuard and AFWall+ control apps on Android.

Ranked Firewalls and network security tools

  1. 1

    Anubis

    Firewalls and network security

    Proof-of-work filter that shields small sites from AI scraper bots

    24k 837 today Thriving MIT

  2. 2

    SafeLine

    Firewalls and network security

    Self-hosted web application firewall that filters attacks as a reverse proxy

    23k 1.6k 33 days ago Active GPL-3.0

  3. 3

    OpenSnitch

    Firewalls and network security

    Interactive application firewall for Linux desktops that prompts on outbound connections

    14k 691 4 months ago Dormant GPL-3.0

  4. 4

    BunkerWeb

    Firewalls and network security

    NGINX-based open-source web application firewall for self-hosters and DevOps teams

    11k 674 3 days ago Active AGPL-3.0

  5. 5

    simplewall

    Firewalls and network security

    Windows network filter built on WFP, for advanced users who want to control app traffic

    9.4k 678 today Active GPL-3.0

  6. 6

    Rethink: DNS + Firewall + VPN

    Firewalls and network security

    Android app combining a per-app firewall, encrypted DNS and WireGuard routing

    6k 388 3 days ago Thriving Apache-2.0

  7. 7

    NetGuard

    Firewalls and network security

    No-root Android firewall that blocks Wi-Fi and mobile data per app

    4k 377 4 months ago Slowing GPL-3.0

  8. 8

    AFWall+

    Firewalls and network security

    iptables-based per-app firewall for rooted Android phones that blocks network access

    3.5k 503 yesterday Active GPL-3.0

  9. 9

    BlockAds: Clean Internet

    Firewalls and network security

    Android ad and tracker blocker using local VPN DNS filtering, with an optional root mode

    2.8k 176 today Thriving GPL-3.0

  10. 10

    TrackerControl

    Firewalls and network security

    Android app that shows which companies track you and blocks it, without root

    2.8k 144 8 days ago Thriving GPL-3.0

  11. 11

    ShizuWall

    Firewalls and network security

    Android firewall that blocks apps per package without using a VPN

    2.6k 75 2 days ago Thriving GPL-3.0

  12. 12

    Blocker

    Firewalls and network security

    Android component manager that disables unneeded app components via Intent Firewall

    2.5k 103 today Active Apache-2.0

  13. 13

    UUSEC WAF

    Firewalls and network security

    Self-hosted web application firewall built on nginx and LuaJIT, with semantic attack

    1.7k 167 yesterday Active BSD-2-Clause

  14. 14

    DNSNet

    Firewalls and network security

    On-device DNS ad and malware blocker for Android, no root needed

    991 44 today Thriving GPL-3.0

  15. 15

    super

    Firewalls and network security

    Self-hosted WiFi router software giving each device its own isolated network

    906 67 2 days ago Active BSD-3-Clause

  16. 16

    Snitch

    Firewalls and network security

    826 57 4 days ago Thriving AGPL-3.0

  17. 17
  18. 18

    De1984

    Firewalls and network security

    530 38 6 days ago Active MIT

  19. 19
  20. 20

    Fail2Ban-Report

    Firewalls and network security

    312 12 7 days ago Active GPL-3.0

  21. 21

    OPNsense Manager

    Firewalls and network security

    188 8 25 days ago Active GPL-3.0

  22. 22

    Karma Firewall

    Firewalls and network security

    164 10 2 years ago Dormant Apache-2.0

  23. 23

    Fwknop2

    Firewalls and network security

    76 23 8 years ago Dormant GPL-2.0

  24. 24

    k3pler

    Firewalls and network security

    72 15 4 years ago Dormant GPL-3.0

  25. 25

    Bouncer

    Firewalls and network security

    38 9 13 days ago Active MPL-2.0

  26. 26

    Port Knocker

    Firewalls and network security

    33 10 3 years ago Dormant Apache-2.0

  27. 27

    LANShield

    Firewalls and network security

    32 4 3 months ago Slowing Apache-2.0

  28. 28

    Acutis Firewall

    Firewalls and network security

    31 6 7 days ago Active MIT

  29. 29

    Arcade

    Firewalls and network security

    21 2 today Active GPL-3.0

  30. 30

    Roaming Borders

    Firewalls and network security

    12 1 11 months ago Dormant GPL-3.0-or-later

Self-hosted firewalls and network security software

7 of these run on your own server: Anubis, SafeLine, BunkerWeb, UUSEC WAF, super, crowdsec-blocklist-import, Fail2Ban-Report.

What to look for in firewalls and network security software

The features we check for every tool in this category; they drive the parity scores on alternatives pages.

Web application firewall
Inspects HTTP requests and blocks attacks such as SQL injection and XSS.
Per-app network rules
Allows or blocks network access separately for each application.
Custom rules
Lets users write their own filtering rules by address, port, domain or request pattern.
OWASP Core Rule Set support
Can run the OWASP Core Rule Set or compatible managed rule sets.
Bot and scraper protection
Detects and challenges automated traffic with proof-of-work, CAPTCHA or behavior checks.
Rate limiting and DDoS mitigation
Throttles or blocks request floods from clients or IPs.
DNS filtering
Blocks domains using blocklists or custom DNS rules.
IP and geo blocking
Blocks traffic by IP, range, country or reputation list.
Traffic logs and monitoring
Records blocked and allowed connections with a viewable log or dashboard.
Graphical management interface
Offers a GUI or web dashboard for configuring and managing rules.
Reverse proxy integration
Works as or inside a reverse proxy such as Nginx or Apache.
Tracker and ad blocking
Blocks known tracking and advertising hosts or connections.
API protection
Provides protection specific to API traffic, such as schema or token checks.
Interactive connection prompts
Asks the user to allow or deny new connections as they occur.

Frequently asked questions

Which open source web application firewall should I use?

SafeLine and BunkerWeb are self-hosted options that work as reverse proxies. modsecurity is an OWASP-backed WAF with flexible rules.

What is a good open source firewall for Android?

NetGuard blocks Wi-Fi and mobile data per app without root. AFWall+ uses iptables and needs a rooted phone. ShizuWall blocks apps per package without a VPN.

How can I block AI scrapers from my site?

Anubis is a proof-of-work filter built to shield small sites from AI scraper bots. You can run it alongside a WAF such as BunkerWeb.

Is there an application firewall for Linux desktops?

OpenSnitch is an interactive application firewall for Linux desktops. It asks you before an app makes an outbound connection.

Rankings use fit, health, license and popularity; sponsors never change the order. Methodology · Report an error.