https://github.com/zaeem20/pyfirewall
A simple Firewall implementation in python, with nice and interactive Terminal UI
https://github.com/zaeem20/pyfirewall
ethical-hacking-tools firewall networking networking-in-python python scapy
Last synced: 7 months ago
JSON representation
A simple Firewall implementation in python, with nice and interactive Terminal UI
- Host: GitHub
- URL: https://github.com/zaeem20/pyfirewall
- Owner: Zaeem20
- Created: 2025-05-25T09:37:22.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-05-25T09:42:39.000Z (8 months ago)
- Last Synced: 2025-06-05T16:46:59.798Z (8 months ago)
- Topics: ethical-hacking-tools, firewall, networking, networking-in-python, python, scapy
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### PyFirewall
#### A simple firewall with cross platform support. with Interactive TUI

#### Features:
- Block IPs
- Block Ports
#### Requirements:
- Python 3.6+
- Windows, Linux
- Admin Privileges
- Python Libraries:
- os
- scapy
- subprocess
- platform
- pydivert (for windows)
- socket
- ipaddress
- rich
#### Installation:
- Install requirements using pip:
```bash
pip install -e .
```
- For windows you need to run the script on elevated privileges (as admin) to use the pydivert library.
- For Linux you need to run the script on elevated privileges (sudo) to use the iptables command.
```bash
python3 main.py
```
#### Credits
Made with ❤️ by [Zaeem20](https;//github.com/Zaeem20)