Skip to content

NovaCyberBarrier is a Linux-based CLI firewall management tool written in Python. It utilizes iptables to manage firewall rules, allowing users to easily block or allow IP addresses, add/remove rules, and apply rate limits. With features like action logging and persistent rules, it offers an effective solution for robust network security.

License

Notifications You must be signed in to change notification settings

ZeroHack01/novacyberbarrier-firewall-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ NovaCyberBarrier Firewall Project πŸ”₯

License: MIT Python Platform Status

iptables CLI

NovaCyberBarrier is a powerful Linux-based CLI firewall management tool written in Python. It leverages iptables to help you easily manage IP access, apply rate limits, and persist your firewall rules with simple commands.

Quick Install β€’ Features β€’ Commands β€’ Requirements


✨ Features Overview

πŸ”’ Network Protection

  • Block malicious IP addresses
  • Control port access
  • Apply traffic rate limiting

βš™οΈ Management

  • Persist rules across reboots
  • Comprehensive logging
  • Easy rule listing and monitoring

πŸ“‹ Feature Details

πŸ” Add and Remove Rules

Control TCP traffic on specified ports

Allow or block TCP traffic on any port with simple commands:

# Add a rule allowing traffic on a port
sudo python3 novacyberbarrier.py add [port]

# Remove a rule blocking traffic on a port
sudo python3 novacyberbarrier.py remove [port]

🚫 IP Address Management

Control access for specific IP addresses

Keep your network secure by managing IP access:

# Block an IP address
sudo python3 novacyberbarrier.py block [ip]

# Allow a previously blocked IP address
sudo python3 novacyberbarrier.py allow [ip]

⏱️ Rate Limiting

Prevent abuse and control traffic

Apply rate limits to prevent DoS attacks and control bandwidth usage:

# Apply rate limiting to an IP address
sudo python3 novacyberbarrier.py limit [ip]

This helps manage excessive traffic from specific sources and prevents abuse.

πŸ“‹ List Current Rules

View your firewall configuration

Easily check what rules are currently active:

# Display all active rules
sudo python3 novacyberbarrier.py list

πŸ“ Log Actions

Track all firewall activities

All actions are logged for auditing and troubleshooting:

# Check the log file
cat novacyberbarrier.log

πŸ’Ύ Save Rules

Persist your firewall configuration

Make sure your rules survive system reboots:

# Save current rules
sudo python3 novacyberbarrier.py save

πŸ”§ Requirements

Requirement Description
Python Python 3.x
iptables Usually pre-installed on Linux
Root Sufficient permissions to modify firewall settings

πŸ“₯ Installation

# Clone the Repository
git clone https://github.com/ZeroHack01/novacyberbarrier-firewall-project.git
cd novacyberbarrier-firewall-project

# Make the script executable
chmod +x novacyberbarrier.py

# Run with root privileges
sudo ./novacyberbarrier.py [command] [arguments]

One-Line Quick Install (Copy & Paste):

git clone https://github.com/ZeroHack01/novacyberbarrier-firewall-project.git && cd novacyberbarrier-firewall-project && chmod +x novacyberbarrier.py && sudo ./novacyberbarrier.py list

πŸ”„ Quick Command Reference

Command Description Example
add Allow traffic on a port sudo python3 novacyberbarrier.py add 80
remove Block traffic on a port sudo python3 novacyberbarrier.py remove 8080
block Block an IP address sudo python3 novacyberbarrier.py block 192.168.1.100
allow Allow an IP address sudo python3 novacyberbarrier.py allow 192.168.1.100
limit Rate limit an IP sudo python3 novacyberbarrier.py limit 192.168.1.100
list Show all rules sudo python3 novacyberbarrier.py list
save Persist rules sudo python3 novacyberbarrier.py save

πŸ“Š Project Status

Maintenance Last Commit

πŸ‘¨β€πŸ’» Contribute

Issues Pull Requests

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

NovaCyberBarrier is a Linux-based CLI firewall management tool written in Python. It utilizes iptables to manage firewall rules, allowing users to easily block or allow IP addresses, add/remove rules, and apply rate limits. With features like action logging and persistent rules, it offers an effective solution for robust network security.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages