Rain-kl /OpenFlare
Next-Gen Distributed Reverse Proxy & Edge Security Gateway for OpenResty / Nginx
★ 302⑂ 75👁 0⑃ 45● 23▤ 63
+2
Daily
302
stars
75
forks
0
watchers
45
prs
23
issues
63
releases
README
OpenFlare
Next-Gen Distributed Reverse Proxy & Edge Security Gateway for OpenResty / Nginx
English | 简体中文
---
📖 What is OpenFlare?
OpenFlare is a modern, open-source distributed reverse proxy and edge security gateway platform designed for multi-server infrastructures and edge clusters.
Rather than a simple single-host admin panel, OpenFlare empowers traditional OpenResty / Nginx nodes with centralized cluster orchestration, dynamic zero-reload sync, line-rate edge WAF defense, and secure in-network tunneling:
⚡ Zero-Reload Dynamic Orchestration: Centralized control plane manages any number of edge nodes. Synchronize rule diffs in milliseconds with zero Nginx reload disruptions.
🛡️ Built-in Edge Security & Anti-CC (Turnstile Alternative): Comprehensive WAF rule engine, MaxMind GeoIP regional ACLs, and client-side cryptographic Proof of Work (PoW) challenges to eliminate botnets and CC attacks at line rate.
🚇 Zero-Trust Tunnels (Cloudflare Tunnel Alternative): Securely publish private homelab and internal web services to edge proxies via lightweight openflared clients without public IPs or open inbound ports.
📦 Pages Edge Hosting: Host static sites and SPAs pulled directly from GitHub Releases or uploaded bundles, distributed across edge nodes with instant rollbacks and fallback routing.
🔒 Automated Certificates & SSO: Automatic multi-domain Let's Encrypt certificates via ACME and enterprise single sign-on with GitHub OAuth and standard OIDC.
---
🌐 Flexible Deployment: Standalone or Behind Cloudflare
OpenFlare is designed to operate seamlessly either as an independent edge gateway or in harmony with Cloudflare and public CDNs:
1. Standalone Edge Gateway (Private CDN)
Ideal for developers managing multi-region VPS clusters or homelabs:
Deploy your own high-availability CDN and edge proxy cluster with 100% data and privacy ownership.
Protect origin sites with built-in Turnstile-like PoW human challenges, dynamic WAF, and automated SSL certs without expensive enterprise CDN security plans.
2. Behind Cloudflare (Hardened Origin Shield)
Functions as an intelligent origin shield and routing gateway behind Cloudflare:
Leaked Real IP Protection: If attackers bypass Cloudflare and directly hit your origin's public IP address, OpenFlare's edge WAF and PoW challenges will immediately intercept and block the attack.
Full Private Log & Metric Retention: Overcomes Cloudflare Free tier limitations by retaining comprehensive, searchable request logs and operational metrics locally.
Unified In-Network Routing: Ingest incoming Cloudflare traffic and dynamically route it across internal backends or private homelab services through secure tunnels.
---
📊 Comparison: Traditional Nginx vs NPM vs OpenFlare
| Feature | Traditional Nginx (nginx.conf) | Nginx Proxy Manager (NPM) | OpenFlare |
| :--- | :--- | :--- | :--- |
| Cluster Architecture | Manual per-host editing via SSH | Single node only; no clusteTop issues
Latest release
v3.5.10 v3.5.10 2026-11-09chore(release): v3.5.10 ✨ 新功能 - 域名列表与快捷新增支持 .example.com、.s3.example.com 等通配符域名,可绑定站点规则并随配置版本下发至 CDN 节点;Cloudflare 指向分组可为其同步 A、AAAA 或 CNAME 记录。 - 域名流量统计支持聚合通配符匹配的实际子域名,重叠域名不会重复计数;Uptime Kuma 优先使用具体域名,只有通配符时跳过监控创建或更新并记录原因。 - 链路追踪新增 OTLP/HTTP 协议导出,可通过标准环境变量或系统配置设置导出协议、接收端地址和自定义请求头,与原有 OTLP/gRPC 导出协议并行。 - Cloudflare 指向分组支持选择自动 TTL 或手动填写 60~86400 秒,适用于节点绑定与自定义 A、AAAA、CNAME;灰云成员使用分组配置,橙云成员始终自动,旧分组保留原有 300 秒行为。