Skip to content

Repository files navigation

Fire Wall Custom

Fire Wall Custom is a custom-built firewall application that monitors and controls network traffic by inspecting incoming and outgoing packets. It uses IP addresses and ports as filtering criteria to allow or block connections, giving users fine-grained control over their system's network activity.

This project was created as a personal learning project — a hands-on way to explore network security concepts, real-time packet interception, and how to bridge a low-level system engine with a modern desktop GUI.

Features

  • Real-time packet sniffing and interception on Windows
  • Block or allow traffic based on IP address and port rules
  • Desktop GUI for managing rules and monitoring live traffic
  • Live traffic feed pushed from backend to frontend in real time

Tech Stack

  • Packet engine: Python + PyDivert
  • Backend: Flask + Socket.IO
  • Frontend: React + TypeScript
  • Desktop bridge: pywebview (renders the React frontend as a native desktop window, connected to the Python backend)

Prerequisites

  • Windows OS (required for PyDivert/WinDivert packet interception)
  • Python 3.x
  • Node.js

Run Locally

  1. Install frontend dependencies:
    npm install
    
  2. Install backend dependencies:
    pip install -r requirements.txt
    
  3. Run the app:
    npm run dev
    
    (Update this command to match your actual entry point/scripts once the build is finalized — e.g. a python main.py step to launch the pywebview window.)

Known Issues / Work in Progress

  • The integration between the frontend and backend is currently in a partially broken state. An earlier AI-generated template used placeholder/fake engine logic, which now conflicts with the real PyDivert/Flask engine modules being integrated. Cleanup of these conflicting files is in progress.

Motivation

Built to learn how firewalls actually work under the hood — from raw packet capture up through building a usable interface on top of it.

Fire-Wall-Custom

Custom Windows firewall that filters incoming/outgoing traffic by IP address and port.

About

Custom Windows firewall that filters incoming/outgoing traffic by IP address and port.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages