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
|
|
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]
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]
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.
View your firewall configuration
Easily check what rules are currently active:
# Display all active rules
sudo python3 novacyberbarrier.py list
Track all firewall activities
All actions are logged for auditing and troubleshooting:
# Check the log file
cat novacyberbarrier.log
Persist your firewall configuration
Make sure your rules survive system reboots:
# Save current rules
sudo python3 novacyberbarrier.py save
Requirement | Description |
---|---|
Python 3.x | |
Usually pre-installed on Linux | |
Sufficient permissions to modify firewall settings |
# 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]
git clone https://github.com/ZeroHack01/novacyberbarrier-firewall-project.git && cd novacyberbarrier-firewall-project && chmod +x novacyberbarrier.py && sudo ./novacyberbarrier.py list
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 |