Post

Easily Manage IPTables Across Multiple Nodes with Firewall Manager

Streamline IPTables management across multiple nodes with Firewall Manager, seamlessly integrating with SIEM and SOAR for enhanced security and automation.

Easily Manage IPTables Across Multiple Nodes with Firewall Manager

Firewall

TL;DR

Managing IPTables manually on multiple nodes was a tedious and inefficient process. Each time a threat was detected, I had to log in to individual servers to apply firewall rules manually. This approach was not scalable and introduced delays in threat response.

To address this, I developed Firewall Manager, a centralized tool that integrates with SIEM through SOAR. With Firewall Manager, security teams can automate firewall rule enforcement across multiple nodes, improving efficiency and response time.


Why Firewall Manager?

Traditional firewall management on distributed infrastructures often requires administrators to configure IPTables manually on each server. This method has several challenges:

βœ… Time-consuming: Manually updating IPTables on multiple nodes can be slow, especially during active incidents.
βœ… Error-prone: Manual configurations increase the risk of misconfigurations, potentially leaving security gaps.
βœ… Lack of centralization: Without a unified dashboard, monitoring and managing firewall rules across multiple servers is difficult.
βœ… Delayed threat mitigation: Threat actors can exploit the time gap between detection and response.

Firewall Manager solves these problems by automating and centralizing firewall management, ensuring faster and more accurate responses to security threats.


How It Works

Firewall Manager acts as an intermediary between SIEM, SOAR, and individual nodes running IPTables. The workflow consists of the following steps:

1. Event Detection

  • SIEM continuously monitors network traffic and logs security events.
  • When a suspicious or malicious activity is detected, an event is generated and sent to SOAR.

2. Threat Analysis & Decision Making

  • SOAR forwards the detected event to Firewall Manager via API.
  • Security analysts can review the event and choose to either ignore or block the detected IP.
  • If blocking is selected, Firewall Manager automatically propagates the blocking rule to the affected nodes.

3. IP Blocking Mechanism

  • Firewall Manager uses a client-server model to distribute firewall rules:
    • Firewall-Server: The central control unit that manages firewall rules and communicates with SIEM and SOAR.
    • Firewall-Client: Runs on each server and enforces blocking rules received from the Firewall-Server.
  • This ensures that every node updates its IPTables configuration instantly when a threat is identified.

4. Continuous Monitoring & Logging

  • Every action taken (ignored or blocked) is logged for security auditing.
  • Analysts can review past logs to analyze attack patterns and improve defensive strategies.

Key Features

πŸ” IP Region Detection

Firewall Manager can detect the geographical origin of an IP address using threat intelligence databases. This allows security teams to:
βœ… Identify patterns of attacks originating from specific regions.
βœ… Block traffic from high-risk countries or regions based on policies.
βœ… Gain deeper insights into attack sources for better defensive measures.

πŸ›‘ Automatic IP Blocking

Instead of relying on manual intervention, Firewall Manager automatically blocks malicious and suspicious IPs based on real-time events from SIEM. This ensures:
βœ… Faster response times, reducing potential attack damage.
βœ… Consistent rule enforcement across all nodes.
βœ… Minimized human error by automating repetitive firewall tasks.

πŸ”— Threat Intelligence Enrichment with OpenCTI

Firewall Manager integrates with OpenCTI to enrich detected threats with contextual data. When an IP is flagged as suspicious, it is cross-checked against:
βœ… Global threat intelligence feeds.
βœ… Known attack patterns and previously observed malicious activities.
βœ… Reputation scores to assess the risk level before taking action.

This enrichment helps analysts make informed decisions and reduces false positives.

πŸ“œ Comprehensive Event Logging

All processed events are logged in detail, providing a complete security audit trail. Logged data includes:
βœ… Source IP address and region information.
βœ… Actions taken (ignored, blocked, or whitelisted).
βœ… Timestamp and event metadata for forensic analysis.

With detailed logs, security teams can analyze past attacks, fine-tune security policies, and ensure compliance with regulatory requirements.


Download Firewall Manager

πŸš€ Get started with Firewall Manager now!

πŸ”” Note: This tool is still in development, and I will be adding more features and support for additional package formats like .rpm soon! Stay tuned for updates!


Benefits of Using Firewall Manager

Using Firewall Manager provides several key benefits for security teams and IT administrators:

πŸš€ Rapid Threat Mitigation – Automatically blocks malicious IPs in real time, reducing response time from minutes to seconds.
πŸ”„ Centralized Firewall Management – No need to log in to multiple servers; manage everything from one control panel.
πŸ”Ž Better Visibility – Gain insights into attack sources, patterns, and high-risk regions.
πŸ“Š Audit-Ready Logging – Maintain comprehensive logs for compliance and incident analysis.
πŸ”§ Seamless Integration – Works with existing SIEM & SOAR solutions without disrupting operations.


Conclusion

Managing IPTables across multiple nodes manually is inefficient and risky. Firewall Manager solves this problem by automating and centralizing firewall rule management, ensuring a faster and more effective security response.

By integrating with SIEM, SOAR, and OpenCTI, Firewall Manager enables security teams to:
βœ… Automate firewall rule enforcement across multiple servers.
βœ… Enrich threat data for better decision-making.
βœ… Improve visibility and auditing capabilities.

With real-time blocking, threat intelligence integration, and comprehensive logging, Firewall Manager enhances cyber defense capabilities for modern IT infrastructures.

If you’re looking for a scalable, automated, and efficient way to manage IPTables across multiple nodes, Firewall Manager is the solution you need! πŸš€


Images

Agent List: Firewall

Event Listing: Firewall

Detail Events: Firewall

Blocked Lists: Firewall

If you find this project helpful, consider supporting me through GitHub Sponsors:

Sponsor

This post is licensed under CC BY 4.0 by the author.