Skip to content
C

Cyber Rakshak

AI-Powered. Edge-Ready. Cyber-Secure

Created on 3rd October 2026

•

C

Cyber Rakshak

AI-Powered. Edge-Ready. Cyber-Secure

The problem Cyber Rakshak solves

Modern networks face threats such as malicious traffic, suspicious network flows, unauthorized connections, and potentially unknown attack patterns. Traditional firewalls mainly rely on predefined rules, while many IDS solutions require comparatively powerful systems or centralized infrastructure.

EdgeGuard addresses this by providing a lightweight, AI-assisted network security gateway that can run directly on resource-constrained edge hardware such as a Raspberry Pi 5. It sits between the trusted LAN and the external network, continuously inspecting network traffic, extracting flow-level features, and using a machine-learning model to identify suspicious traffic.

When a threat is identified, EdgeGuard can enforce the security decision at the network layer using firewall rules, while its dashboard provides real-time visibility into traffic, detected threats, blocked connections, network activity, and security events.

This makes EdgeGuard useful for small offices, laboratories, educational institutions, IoT deployments, temporary networks, and other environments that need an affordable and portable security gateway without deploying a dedicated enterprise firewall appliance

Challenges we ran into

One of the biggest challenges was making the Raspberry Pi work as a true inline security gateway, rather than simply monitoring network traffic. Initially, packets from the connected client were not reaching the forwarding path correctly, so the firewall counters remained unchanged and the client could not access the external network.

I solved this by configuring the Raspberry Pi with separate WAN and LAN interfaces, enabling IP forwarding, configuring NAT and forwarding rules, and correctly configuring the client and switch-side network addressing.

Another challenge was integrating real-time packet capture, flow construction, ML inference, and firewall enforcement without making the system unstable. I separated the packet-capture and analysis pipeline from the dashboard and used the captured flow information to generate the same feature set expected by the trained ML model.

I also had to ensure that automated blocking did not accidentally isolate legitimate clients or disrupt the gateway itself. The firewall logic was therefore designed around a dedicated EdgeGuard rule chain with scoped blocking and a recovery mechanism.

The final system now operates as an inline Raspberry Pi-based security gateway that can capture traffic, analyze flows, classify suspicious activity, apply firewall enforcement, and display the resulting security events through the dashboard

Discussion

Builders also viewed

See more projects on Devfolio