Python Firewall

Open-source Python projects categorized as Firewall

Top 23 Python Firewall Projects

  1. opensnitch

    OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch.

    Project mention: If You Can't Hold It, You Don't Own It | news.ycombinator.com | 2026-06-27

    I'm aware, and I'm choosing GOG when I can now, though even then I see phoning home (or attempts to) happening (opensnitch is useful for that https://github.com/evilsocket/opensnitch) - I've paid for some titles 2-3x over which is frustrating, admittedly I don't have the physical media from the first time which is on me, but it's frustrating seeing single player games wanting to phone home

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. Awesome-WAF

    Everything about Web Application Firewalls (WAFs) from Security Standpoint! 🔥

  4. firewalld

    Stateful zone based firewall daemon with D-Bus interface

  5. evilwaf

    evilwaf is a penetration testing tool designed to detect and bypass common Web Application Firewalls (WAFs).

    Project mention: Evilwaf – MitM Firewall bypass proxy and WAF vulnerability scanner | news.ycombinator.com | 2026-03-20
  6. HOL Guard

    Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

  7. qomui

    Qomui (Qt OpenVPN Management UI)

  8. ansible-opnsense

    Ansible Collection to manage OPNsense firewalls using their API

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. pan-os-python

    The PAN-OS SDK for Python is a package to help interact with Palo Alto Networks devices (including physical and virtualized Next-generation Firewalls and Panorama). The pan-os-python SDK is object oriented and mimics the traditional interaction with the device via the GUI or CLI/API.

  11. opensnitch

    OpenSnitch is a GNU/Linux application firewall (by gustavo-iniguez-goya)

  12. OPNsensePIAWireguard

    This script automates the process of getting Wireguard setup on OPNsense to connect to PIA's NextGen Wireguard servers. It will create Wireguard Instance(Local) and Peer(Endpoint) on your OPNsense setup.

  13. dnxfirewall

    DNXFIREWALL® and DAD'S NEXT-GEN FIREWALL™, a C/CPython hybrid next generation firewall built on top of Linux and bound to kernel/ netfilter hooks for packet control.

  14. gufw

    Linux Firewall

  15. ipblocklist

    IP list full of bad IPs - Updated every 2H

    Project mention: We Do Not Support Opt-Out Forms (2025) | news.ycombinator.com | 2026-01-27

    You can block at your gateway/router. Lots of places have country IP ranges[1], and there are even more or less frequently updated lists of 'malicious' IP ranges[2]. Some gateway providers include 'block by country' and/or 'download blocklists automatically' as a feature.

    [1] e.g. https://github.com/ipverse/geo-ip-blocks

    [2] e.g. https://github.com/bitwire-it/ipblocklist

  16. findwall

    Check if your provider is blocking you!

  17. the-great-gpt-firewall

    🤖 A curated list of websites that restrict access to AI Agents, AI crawlers and GPTs

  18. fortigate-api

    Python package for configuring Fortigate (Fortios) devices using REST API

  19. socialclub-notification-blocker

    Next-generation firewall (NGFW) that supports blocking SocialClub Overlay notifications.

  20. preloop

    The open-source AI agent control plane: MCP firewall, model gateway with budgets, human approvals, runtime observability, and audit trails (by preloop)

    Project mention: Show HN: Preloop: Open-source control plane for AI agents. See, govern, cut cost | news.ycombinator.com | 2026-07-28
  21. windows_tools

    Collection of various interfaces for Windows functionality in a Pythonic way

  22. guardian

    Firewall for GTA Online (by TheMythologist)

  23. DirectFire_Converter

    DirectFire Firewall Converter - Network Security, Next-Generation Firewall Configuration Conversion, Firewall Syntax Translation and Firewall Migration Tool - supports Cisco ASA, Fortinet FortiGate (FortiOS), Juniper SRX (JunOS), SSG / Netscreen (ScreenOS) and WatchGuard (support for further devices in development). Similar to FortiConverter, SmartMove, Expedition etc.

  24. BlackListBox

    BlackListBox is an integrated blacklist database autoupdate solution.

  25. udwall

    Make UFW docker-compatible with a single command

    Project mention: Announcing udwall: A New Tool for Making UFW and Docker Play Nice With Each Other | dev.to | 2025-11-23

    Check out the repository here: https://github.com/HexmosTech/udwall

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Firewall discussion

Log in or Post with

Python Firewall related posts

  • Test whether your agent oversight survives a reworded plan

    1 project | dev.to | 29 Sep 2026
  • If You Can't Hold It, You Don't Own It

    1 project | news.ycombinator.com | 27 Jun 2026
  • vrp-ir 0.9.0: a line-cited security audit for Huawei VRP/USG configs

    1 project | dev.to | 25 Jun 2026
  • Little Snitch comes to Linux, but the core logic is closed source

    2 projects | news.ycombinator.com | 9 Apr 2026
  • LittleSnitch for Linux: OpenSnitch Is the Outbound Firewall You've Been Waiting For [2026]

    1 project | dev.to | 9 Apr 2026
  • Gnome calculator pings the International Monetary Fund website

    1 project | news.ycombinator.com | 5 Jan 2026
  • Show HN: Sinkzone DNS forwarder that blocks everything except your allowlist

    7 projects | news.ycombinator.com | 6 Aug 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Oct 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Firewall projects in Python? This list will help you:

# Project Stars
1 opensnitch 14,165
2 Awesome-WAF 7,649
3 firewalld 1,049
4 evilwaf 908
5 HOL Guard 850
6 qomui 559
7 ansible-opnsense 498
8 pan-os-python 402
9 opensnitch 395
10 OPNsensePIAWireguard 265
11 dnxfirewall 221
12 gufw 221
13 ipblocklist 192
14 findwall 103
15 the-great-gpt-firewall 101
16 fortigate-api 95
17 socialclub-notification-blocker 92
18 preloop 77
19 windows_tools 76
20 guardian 71
21 DirectFire_Converter 61
22 BlackListBox 52
23 udwall 34

Sponsored
Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com

Did you know that Python is
the 1st most popular programming language
based on number of references?