Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 754 Bytes

File metadata and controls

43 lines (31 loc) · 754 Bytes

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