Menu
Cloudflare Blog·October 30, 2026

Securing Private Origins with Cloudflare Proxy Services

Cloudflare's new service extends its application security and performance features (WAF, caching, bot management) to private, non-internet-facing origins. This allows internal APIs and applications to benefit from Cloudflare's edge network without requiring a public IP or direct firewall exposure, simplifying the security posture for hybrid cloud and internal services.

Read original on Cloudflare Blog

Cloudflare's new offering, "services for private origins," addresses a critical need for organizations running internal applications, APIs, and AI backends that are not intended for direct internet exposure but still require secure access from external partners, customers, or agents. Previously, integrating these private services with Cloudflare's robust application security features (like WAF, bot management, and rate limiting) often necessitated exposing a public IP or using specific connectors like `cloudflared` for each origin, complicating infrastructure management and increasing the attack surface.

Architectural Shift for Private Service Protection

The core architectural innovation lies in enabling Cloudflare's edge network to reach private origins over existing Cloudflare One connections (IPsec, GRE, Cloudflare Tunnel, CNI, or Cloudflare Mesh) without the origin ever being directly exposed to the public internet. This means a private IP can be associated with a proxied DNS record (A or AAAA), and Cloudflare's global network will forward requests to it through the established private network path. This effectively extends the security perimeter of Cloudflare's comprehensive suite to internal-only services, providing a consistent layer of protection.

💡

Key Benefits for System Design

This capability simplifies hybrid and multi-cloud architectures by allowing internal services to consume edge security and performance without network re-architecting. It centralizes security policies, reduces direct internet exposure for sensitive applications, and leverages existing private network connectivity, enhancing the overall security posture and operational efficiency.

How it Works: DNS-driven Private Routing

The mechanism is straightforward: users create a proxied A or AAAA DNS record pointing to a private IP address. Cloudflare's platform, upon detecting the `private_routing` flag (which is automatically enabled for RFC 1918, RFC 6598, and RFC 4193 addresses), reroutes traffic internally through the customer's pre-configured Cloudflare One private network connectivity rather than attempting a public internet connection. This ensures TLS termination, WAF, caching, and other rules are applied at the Cloudflare edge before the request ever traverses the private network.

json
POST /zones/{zone_id}/dns_records
{
  "type": "A",
  "name": "app.example.com",
  "content": "10.0.0.50",
  "ttl": 300,
  "proxied": true,
  "private_routing": true
}

Upcoming features include private-to-private traffic routing, enabling services on one private network to securely reach applications on another private network via Cloudflare's application services. This will further extend the consistent application of WAF, rate limiting, and bot management to internal, service-to-service communications, even when neither side touches the public internet.

CloudflarePrivate NetworkWAFAPI GatewayEdge ComputingHybrid CloudNetwork SecurityZero Trust

Comments

Loading comments...