Skip to content

Zaeem20/PyFirewall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyFirewall

A simple firewall with cross platform support. with Interactive TUI

UI Screenshot

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:
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.
python3 main.py

Credits

Made with ❤️ by Zaeem20

About

A simple Firewall implementation in python, with nice and interactive Terminal UI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages