Skip to content

danielbodnar/ngfw.sh

Repository files navigation

πŸ›‘οΈ NGFW.sh

Cloud-managed next-generation firewall and router administration platform that runs on Cloudflare's Edge.

Centralized management, configuration, monitoring, and security β€” designed with families in mind.

License: MIT Cloudflare Workers TypeScript Rust

Website Β· Dashboard Β· Documentation Β· API Reference

Dashboard

✨ Why NGFW.sh?

🎯 Simple Management

Most router interfaces haven't kept pace with modern expectations. NGFW.sh provides automatic updates, cloud-based management, and security monitoring β€” no network engineering degree required.

πŸ” Accessible Security

IDS/IPS, DNS filtering, traffic analytics, and VPN management β€” capabilities that traditionally required enterprise budgets or deep technical expertise, now available to everyone.

πŸ“Š Actionable Insights

Real-time visualization, threat detection, traffic patterns, and device fingerprinting through a cloud dashboard accessible from anywhere with sub-50ms latency globally.


πŸš€ Quick Start

# 1. Sign up at app.ngfw.sh and register your router
# 2. Install the agent (guided setup, under 5 minutes)
# 3. Manage from the cloud β€” anywhere, any device

The router agent connects via persistent WebSocket through Cloudflare Durable Objects for real-time metrics. Advanced features including firewall rules, DNS filtering, VPN, IDS/IPS, and traffic analytics are rolling out progressively.


πŸ“Έ Screenshots

Authentication β€” Secure login via Clerk.com with email, phone, MFA, and passkeys

Login Page Signup Page

Dashboard β€” Real-time system monitoring and status overview

Dashboard

Network Configuration β€” WAN, LAN, and WiFi management

WAN Configuration WiFi Configuration

Security β€” Firewall rules and DNS filtering

Firewall Rules DNS Filtering

Billing β€” Plan management and subscriptions

Billing & Plans


πŸ’° Pricing

Feature-based, not usage-based. No artificial caps on devices, users, VPN peers, firewall rules, or any other metrics. Pay for capabilities, not permission to use your own network.

Starter Pro Business Business Plus
Monthly $25 $49 $99 $199
Annual $20/mo $39/mo $79/mo $159/mo
Core management & monitoring βœ“ βœ“ βœ“ βœ“
DNS filtering & VPN βœ“ βœ“ βœ“ βœ“
QoS & traffic shaping β€” βœ“ βœ“ βœ“
IDS/IPS & real-time alerts β€” βœ“ βœ“ βœ“
Fleet management & API β€” β€” βœ“ βœ“
Priority support & onboarding β€” β€” β€” βœ“

All plans include a 14-day free trial Β· 20% discount on annual billing


πŸ“‹ Feature Comparison

Cloud Management & Dashboard
Feature Starter Pro Business Business Plus
Cloud-hosted management portal βœ“ βœ“ βœ“ βœ“
Real-time system monitoring (CPU, RAM, temp, load) βœ“ βœ“ βœ“ βœ“
Interface statistics & status βœ“ βœ“ βœ“ βœ“
Automatic firmware updates βœ“ βœ“ βœ“ βœ“
Dual boot slot management βœ“ βœ“ βœ“ βœ“
Configuration backup & restore βœ“ βœ“ βœ“ βœ“
Audit log βœ“ βœ“ βœ“ βœ“
Email support βœ“ βœ“ βœ“ βœ“
Priority support (4hr SLA) β€” β€” β€” βœ“
Onboarding assistance β€” β€” β€” βœ“
Networking
Feature Starter Pro Business Business Plus
WAN configuration (DHCP, Static, PPPoE) βœ“ βœ“ βœ“ βœ“
WAN status, DHCP lease renew/release βœ“ βœ“ βœ“ βœ“
LAN / bridge configuration βœ“ βœ“ βœ“ βœ“
VLAN support βœ“ βœ“ βœ“ βœ“
DHCP server & IP pools βœ“ βœ“ βœ“ βœ“
DHCP static reservations βœ“ βœ“ βœ“ βœ“
WiFi radio management βœ“ βœ“ βœ“ βœ“
Multi-SSID configuration βœ“ βœ“ βœ“ βœ“
WiFi client monitoring βœ“ βœ“ βœ“ βœ“
NAT / port forwarding βœ“ βœ“ βœ“ βœ“
UPnP management βœ“ βœ“ βœ“ βœ“
QoS traffic shaping β€” βœ“ βœ“ βœ“
Per-device bandwidth limits β€” βœ“ βœ“ βœ“
Traffic class definitions β€” βœ“ βœ“ βœ“
Dynamic DNS β€” βœ“ βœ“ βœ“
Security
Feature Starter Pro Business Business Plus
Stateful firewall βœ“ βœ“ βœ“ βœ“
Zone-based policies βœ“ βœ“ βœ“ βœ“
Rule ordering & hit counters βœ“ βœ“ βœ“ βœ“
DNS filtering (ad & tracker blocking) βœ“ βœ“ βœ“ βœ“
DNS allowlist / custom overrides βœ“ βœ“ βœ“ βœ“
Force blocklist update βœ“ βœ“ βœ“ βœ“
IDS (Intrusion Detection System) β€” βœ“ βœ“ βœ“
IPS (Intrusion Prevention System) β€” βœ“ βœ“ βœ“
IDS/IPS rule categories β€” βœ“ βœ“ βœ“
IDS/IPS custom rules β€” βœ“ βœ“ βœ“
Real-time threat alerts (WebSocket) β€” βœ“ βœ“ βœ“
VPN
Feature Starter Pro Business Business Plus
WireGuard VPN server βœ“ βœ“ βœ“ βœ“
VPN peer management βœ“ βœ“ βœ“ βœ“
Peer QR code generation βœ“ βœ“ βœ“ βœ“
VPN client profiles βœ“ βœ“ βœ“ βœ“
Connect/disconnect from dashboard βœ“ βœ“ βœ“ βœ“
VPN connection status monitoring βœ“ βœ“ βœ“ βœ“
Logging & Analytics
Feature Starter Pro Business Business Plus
DNS query log & statistics βœ“ βœ“ βœ“ βœ“
Traffic log with filtering (src, dst, port, proto, app, geo) βœ“ βœ“ βœ“ βœ“
Top clients by bandwidth βœ“ βœ“ βœ“ βœ“
Top destinations βœ“ βœ“ βœ“ βœ“
Aggregated traffic statistics βœ“ βœ“ βœ“ βœ“
Real-time traffic stream (WebSocket) β€” βœ“ βœ“ βœ“
Fleet Management & Integration
Feature Starter Pro Business Business Plus
Fleet device management β€” β€” βœ“ βœ“
Configuration templates β€” β€” βœ“ βœ“
Apply template to multiple devices β€” β€” βœ“ βœ“
Bulk device commands β€” β€” βœ“ βœ“
REST API access β€” β€” βœ“ βœ“
Webhook endpoints β€” β€” βœ“ βœ“
Account & Security
Feature Starter Pro Business Business Plus
User profile management βœ“ βœ“ βœ“ βœ“
Multi-factor authentication (MFA) βœ“ βœ“ βœ“ βœ“
Passkey support βœ“ βœ“ βœ“ βœ“
Session management βœ“ βœ“ βœ“ βœ“

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      Cloudflare Workers Edge                         β”‚
β”‚                                                                      β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚   β”‚    Web     β”‚  β”‚   Schema   β”‚  β”‚    Rust    β”‚  β”‚   Config    β”‚   β”‚
β”‚   β”‚   Portal   β”‚  β”‚    API     β”‚  β”‚    API     β”‚  β”‚    Store    β”‚   β”‚
β”‚   β”‚            β”‚  β”‚            β”‚  β”‚            β”‚  β”‚             β”‚   β”‚
β”‚   β”‚ React/Vite β”‚  β”‚   Hono/    β”‚  β”‚ workers-rs β”‚  β”‚  D1/KV/R2   β”‚   β”‚
β”‚   β”‚            β”‚  β”‚  Chanfana  β”‚  β”‚            β”‚  β”‚             β”‚   β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                                                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                 β”‚
                                 β”‚  WebSocket / HTTPS
                                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        Router (On-Premises)                          β”‚
β”‚                                                                      β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”‚
β”‚   β”‚                        RPC Agent                           β”‚     β”‚
β”‚   β”‚                            ↕                               β”‚     β”‚
β”‚   β”‚       nftables  Β·  dnsmasq  Β·  hostapd  Β·  WireGuard      β”‚     β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚
β”‚                                                                      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Services
Package Domain Purpose
packages/portal app.ngfw.sh Dashboard SPA
packages/www ngfw.sh Marketing site
packages/api api.ngfw.sh REST API, WebSocket RPC, OpenAPI
packages/schema specs.ngfw.sh Legacy API (deprecated)
docs/ docs.ngfw.sh Documentation (Starlight)
Storage
Type Binding Purpose
D1 DB Users, plans, subscriptions, configs
KV DEVICES Device registry & API keys
KV CONFIGS Device configurations
KV SESSIONS User sessions
KV CACHE Blocklist & threat feed cache
R2 FIRMWARE Firmware images
R2 BACKUPS Configuration backups
R2 REPORTS Generated reports

πŸ› οΈ Tech Stack

Frontend

  • React 19, Vite 7, Tailwind CSS 4
  • Astro 5, Starlight (docs)

Auth

  • Clerk.com

Backend

  • Hono 4, Chanfana 3 (OpenAPI), Zod 4
  • workers-rs, Durable Objects, WebSocket

Storage

  • Cloudflare D1, KV, R2

πŸ’» Development

# Setup
bun run setup          # Install all dependencies

# Development servers
bun run dev:portal     # Portal        β†’ localhost:5173
bun run dev:schema     # Schema API    β†’ localhost:8787
bun run dev:api        # Rust API      β†’ localhost:8788
bun run dev:www        # Marketing     β†’ localhost:4321
bun run dev:docs       # Documentation β†’ localhost:4322

# Build & Deploy
bun run build          # Build all packages
bun run deploy         # Deploy all packages

# Quality
bun run test           # Run tests
bun run lint           # Lint with oxlint

πŸ“š Documentation

Resource Description
ARCHITECTURE.md Full technical specification β€” API endpoints, schemas, RPC protocol
PROJECT.md Task tracking, roadmap, and development status
RESEARCH.md Market research and competitive analysis
docs.ngfw.sh User documentation
api.ngfw.sh/openapi.json OpenAPI 3.1 specification

Website Β· Dashboard Β· Docs Β· API

MIT License · Made with ❀️ for families everywhere

About

ngfw.sh is a cloud-managed next-generation firewall and router administration platform that runs on Cloudflare's Edge. It provides centralized management, configuration, monitoring, and security designed with families in mind.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors