Gateway
Last updated Oct 12, 2026
2026-10-15
Application Library now supports custom applications
Starting today, you can create custom applications in the Application Library and reference them in Gateway DNS, Network, and HTTP policies. You can define an application with hostnames, IP subnets, or both. Then, optionally add TCP or UDP ports or port ranges to restrict HTTP and Network matching.

This release also improves search and filtering in the Application Library, updates the interfaces, data, and metrics used to review applications, and makes it easier to select and manage applications in the Gateway policy builder.

For more information, refer to Custom applications and Applications and app types.
2026-10-15
Gateway and Workers integration is now in public beta
Cloudflare Gateway now integrates with Cloudflare Workers in public beta on all Zero Trust plans. You can use the Forward action in Gateway HTTP policies to run your own code on matching, permitted traffic without managing a separate proxy.
The Forward action lets you transform HTTP requests and responses, return a coaching page, or run background tasks such as Slack notifications and R2 captures. Your Worker receives the request and Gateway context, including connection metadata, user identity, and device posture when available.

Gateway handles the proxy connection, TLS decryption, and upstream routing. It evaluates HTTP request policies before Forward policies and inspects the final response before returning it to the user.
Gateway inspects the original request body before delivering it to your Worker. A body-inspection Block decision can interrupt the Worker.
To get started, deploy a Worker and configure a Forward policy, or adapt one of the Worker templates.
2026-10-13
Request Gateway DNS64 through DNS locations and EDNS
You can now request DNS64 through Cloudflare Gateway DNS location settings or Extension Mechanisms for DNS (EDNS) options.
DNS64 synthesizes AAAA records from A records for IPv6-only networks. These networks require network address translation from IPv6 to IPv4 (NAT64).
Turn on Enable DNS64 for a location, or include an empty EDNS option 65051 in individual queries. Both mechanisms support UDP, TCP, DNS over TLS (DoT), and DNS over HTTPS (DoH).
For example, request DNS64 through EDNS with dig:
dig @"<DNS_RESOLVER_IP>" ipv4only.arpa AAAA +ednsopt=65051 +short
The existing cf-dns-options: dns64 DoH header remains supported independently. DNS64 is off by default. Each mechanism independently requests synthesis.
For configuration, API update behavior, and request examples, refer to DNS64.
2026-10-07
Cloudflare Organizations is generally available
Cloudflare Organizations is now generally available for Enterprise customers and MSSP/Distributor partners.
Organizations provides a top-level container for centrally managing accounts, members, analytics, and shared policies. Organization Super Administrators receive implicit access to every account in their Organization without requiring separate account memberships.
Enterprise customers can manage accounts in a single-tier Organization. MSSP/Distributor partners can use nested sub-organizations to manage customer accounts.
Organization Roles remains in beta, and current product limitations still apply.
For more information, refer to Cloudflare Organizations and current limitations.
2026-09-30
Role-based access control for Browser Isolation policies
Isolation policies support role-based access control (RBAC). Because isolation policies are Gateway HTTP policies with the Isolate action, Gateway's account-level and resource-scoped roles apply to them directly.
Use the Zero Trust HTTP Policies Admin account-level role to grant access to all HTTP policies in the account. You can also assign a resource-scoped role to let a team member manage a specific isolation policy without exposing other Gateway resources.
Policy settings such as copy/paste, file download/upload, keyboard, and printing are part of the policy object and follow the same permissions.
For setup instructions, refer to Granular permissions for Gateway.
2026-09-29
Identify Mesh, Workers VPC, and Cloudflare Tunnel replicas in network logs
You can now tell a person on a laptop apart from a Mesh node or an AI agent running on Workers, without matching on connector email addresses or Mesh IP ranges — and see exactly which Cloudflare Tunnel and cloudflared replica received each session.
Gateway network logs and Zero Trust Network Session Logs now identify two new kinds of traffic:
- Mesh — Traffic sent from or delivered to a Cloudflare Mesh node. Previously, Mesh nodes were logged the same way as devices running the Cloudflare One Client, because Mesh nodes run the client in headless mode.
- Workers VPC — Traffic sent by a Worker through a Workers VPC binding. Previously, Workers VPC sessions were not recorded in Network Session Logs.

Gateway network logs
To view these values in the dashboard, go to Zero Trust > Insights & Logs > Logs > Network logs, select Columns, and turn on Traffic Source and Traffic Destination. Both values also appear under Network query details when you open a log entry.
Network Session Logs
The zero_trust_network_sessions dataset, available through Logpush, includes the following fields:
| Field | Description |
|---|---|
OnrampType |
How the session entered Cloudflare One. Values: CF1_CLIENT, MESH, WORKERS_VPC, MAGIC, OTHER. |
Offramp |
Where the session was routed. Sessions routed to a Mesh node report MESH. |
SourceName |
Name of the Worker that started the session. Only populated for Workers VPC sessions. |
SourceID |
Stable identifier of the Worker that started the session. Only populated for Workers VPC sessions. |
DestinationReplicaID |
The replica that served the session, such as a specific replica of a Mesh node or a cloudflared replica of a Cloudflare Tunnel. |
For example, OnrampType = 'WORKERS_VPC' AND Offramp = 'MESH' returns every session where a Worker reached a service behind a Mesh node, and SourceName tells you which Worker it was.
Redeploy your Workers
SourceName and SourceID are only populated for Workers deployed after 29 September 2026. To include them for an existing Worker, redeploy it — for example, with npx wrangler deploy. No code changes are required.
See which tunnel and replica received a session
With DestinationReplicaID, you can now confirm which Cloudflare Tunnel and which cloudflared replica received traffic for a specific session. Combine it with the existing DestinationTunnelID field to trace a session to an exact tunnel replica — or Mesh node replica — when you run multiple replicas for high availability. The replica ID matches the Connector ID shown in the dashboard, so you can stream that replica's logs with cloudflared tail --connector-id.
Sessions logged before this change are not backfilled. For all available fields, refer to Zero Trust Network Session Logs.
2026-09-23
Traffic Destination selector in Gateway policies
Gateway HTTP and Network policies now include a Traffic Destination selector that identifies how traffic exits Cloudflare. This allows administrators to write policies that target specific off-ramp methods - for example, applying different rules to traffic destined for the public Internet compared to traffic routed through Cloudflare Tunnel or Cloudflare WAN.
Available traffic destination values
| UI name | API value | Description |
|---|---|---|
| Internet | internet |
Traffic to the public Internet |
| Cloudflare WAN | cloudflare_wan |
Traffic through a Cloudflare WAN connection |
| Cloudflare Tunnel | cloudflare_tunnel |
Traffic to a private origin through Cloudflare Tunnel |
| Cloudflare One Client | device_client |
Traffic to another device running the Cloudflare One Client |
| Mesh | mesh |
Traffic through a Cloudflare Mesh node |
The selector uses the net.offramp.type API field in both HTTP and Network policies.
| UI name | API example |
|---|---|
| Traffic Destination | net.offramp.type == "internet" |
For more information, refer to HTTP policies and Network policies.
2026-08-13
Detect and control software package downloads with package registry security
Cloudflare Gateway can now detect software package downloads and give you policy control over supply chain traffic. When a developer or CI/CD pipeline downloads a package through Gateway, the proxy identifies the registry protocol from the request URL and extracts the package ecosystem, name, version, and namespace. You can then write HTTP policies using pkg.* selectors to allow or block package downloads.
Supported ecosystems
Gateway detects package downloads for the following ecosystems:
| Ecosystem | Namespace |
|---|---|
| npm | Scope (for example, @babel) |
| PyPI | -- |
| RubyGems | -- |
| Cargo | -- |
| Go | Module path |
| Maven | Group ID |
| NuGet | -- |
Selectors
In the dashboard, select Package Ecosystem to access the package registry selectors. After selecting a single ecosystem, nested fields for package name, version, and namespace become available. Five pkg.* selectors are available for HTTP policies with the Allow and Block actions:
| Selector | Description |
|---|---|
pkg.ecosystem |
The package ecosystem detected from the request URL. |
pkg.name |
The package name extracted from the download URL. |
pkg.version |
The package version, with support for ecosystem-aware comparison operators. |
pkg.namespace |
The package namespace, when the ecosystem supports one. |
pkg.purl |
The Package URL (PURL) ↗︎ derived from the detected coordinates. Available in the API only. |
Detection is based on the registry protocol rather than the hostname, so it works the same way whether traffic goes to a public registry, a corporate proxy such as Artifactory or Nexus, or a self-hosted mirror.
Package registry security requires TLS decryption to be turned on.
For more information, refer to Package registry security.
2026-08-12
MCP protocol detection and AI Security dashboard
Cloudflare Gateway now automatically detects Model Context Protocol (MCP) ↗︎ traffic flowing through your network. MCP is the standard protocol used by AI agents to connect to external tools and data sources. Gateway identifies MCP requests by inspecting protocol-specific headers and payload characteristics.
