Skip to Content
OpenFlare
GuidesDeploymentReferenceArchitectureChangelog

Deployment overview

OpenFlare splits its control plane and data plane across five components that can be deployed incrementally.

Components

ComponentRoleResponsibilitiesPorts and dependenciesGuide
OpenFlare ServerControl planeWeb console, Admin APIs, node protocols, config compilation, job scheduling, and metric aggregation:3000 by default; requires Redis; SQLite or PostgreSQL; optional ClickHouseServer deployment
OpenFlare EdgeData plane gatewayTLS termination, WAF, caching, Pages hosting, active probing, and reverse proxying80/tcp, 443/tcp (8080/8443 in container); outbound HTTPS to ServerDeploy OpenFlare Edge
OpenFlare DNSAuthoritative DNS (SmartDNS)Quality- and ECS-aware authoritative DNS resolution with offline snapshot failover53/udp, 53/tcp (5353 in container); outbound HTTPS to ServerDeploy OpenFlare DNS
OpenFlare RelayTunnel relay (openflare-relay)Terminates encrypted tunnels, serves the Relay Gateway, and forwards L4 TCP/UDP ports7443/tcp, 7444/tcp, 8443/tcp, and assigned L4 portsDeploy OpenFlare Relay
OpenFlaredTunnel connector (openflared)Initiates outbound tunnels from private hosts to healthy relays and forwards traffic locallyNo inbound ports; outbound access to Server and RelaysDeploy OpenFlared

Deployment path and order

  1. Control plane: Deploy OpenFlare Server following Server deployment (SQLite for evaluation; PostgreSQL and Redis for production).
  2. Edge gateways: Deploy edge nodes following Deploy OpenFlare Edge and assign performance policies in the console.
  3. Authoritative DNS (optional): Deploy standalone DNS nodes following Deploy OpenFlare DNS and delegate an NS subdomain.
  4. Tunnel infrastructure (optional): Run OpenFlare Relay on a public host and OpenFlared on private hosts.
  5. Planning and lifecycle: See Deployment planning & baselines for ports and sizing, and Upgrades & maintenance for updates and rollbacks.

On this page