Proxy Endpoints, PAC Files, Authorization, and Browser Isolation
How Cloudflare Gateway proxy endpoints, hosted PAC files, identity authorization, and Browser Isolation work together without a device client.
This page summarises Cloudflare documentation on Gateway proxy endpoints: routing browser HTTP and HTTPS traffic through Cloudflare One with a PAC file when you cannot install the Cloudflare One Client, choosing between source IP and authorization endpoints, using hosted PAC files, and applying Browser Isolation to PAC-proxied traffic after authorization endpoints gained support.
Proxy endpoints: filter web traffic without a device client
Section titled “Proxy endpoints: filter web traffic without a device client”Proxy endpoints let you apply Cloudflare Gateway HTTP policies without installing a client on devices. You configure a Proxy Auto-Configuration (PAC) file at the browser (or OS) level so web traffic is sent to Gateway for filtering and policy enforcement.
Proxy endpoints allow you to apply Cloudflare Gateway HTTP policies without installing a client on devices. By configuring a Proxy Auto-Configuration (PAC) file at the browser level, you route web traffic through Gateway for filtering and policy enforcement.
— Cloudflare, Connectivity options
Cloudflare One supports two endpoint types:
| Type | Authorization | Typical use |
|---|---|---|
| Authorization endpoint | Cloudflare Access (identity provider) | Per-user identity, identity-based Gateway and Isolate policies |
| Source IP endpoint | Fixed source IP allow list | Shared egress IP, no per-user identity (Enterprise plans only) |
Authorization endpoints: Use Cloudflare Access for identity-based authentication
Source IP endpoints: Authorize traffic based on originating IP address (Enterprise only)— Cloudflare, Proxy endpoints
Use proxy endpoints when you need to filter web traffic without device agents, integrate with existing proxy infrastructure, or run Gateway alongside other security tools. Common situations include virtual desktops (VDI), compliance-restricted endpoints where software cannot be installed, and legacy secure web gateway migrations that already rely on PAC files.
When a PAC file is the right on-ramp
Section titled “When a PAC file is the right on-ramp”A PAC file is JavaScript that implements FindProxyForURL() so the browser decides, per URL, whether to connect directly or via a proxy.
A PAC file is a file containing a JavaScript function which can instruct a browser to forward traffic to a proxy server instead of directly to the destination server.
— Cloudflare, Proxy endpoints
PAC files (Enterprise learning path) notes PAC-based filtering for cases where the device client is inappropriate—legacy Windows, devices that cannot install client software, non-persistent VDI, or a quick backup if an agent is unavailable. Choose an on-ramp states PAC files target account-specific proxy hostnames and process URL traffic that matches the proxy profile.
Gateway Authorization Proxy: identity before filtering
Section titled “Gateway Authorization Proxy: identity before filtering”The Gateway Authorization Proxy (authorization proxy endpoints) adds an identity-aware option next to source IP endpoints. Users authenticate with Cloudflare Access through your identity provider; Gateway then applies filtering without the WARP client.
Authorization proxy endpoints add an identity-aware option alongside the existing source IP proxy endpoints, using Cloudflare Access authentication to verify who a user is before applying Gateway filtering — without installing the Cloudflare One Client.
— Cloudflare, Gateway Authorization Proxy and hosted PAC files are now generally available
Previously, proxy endpoints relied on static source IPs, with no user-level identity in logs or policies. The authorization proxy replaces IP-only authorization with Access authentication.
Previously, proxy endpoints relied on static source IP addresses to authorize traffic, providing no user-level identity in logs or policies. The new authorization proxy replaces IP-based authorization with Cloudflare Access authentication, verifying who a user is before applying Gateway filtering without installing the WARP client.
— Cloudflare, Gateway Authorization Proxy and hosted PAC files (open beta)
As of the GA announcement, the Gateway Authorization Proxy and hosted PAC files are available on all plan types. Identity-aware proxy traffic supports providers such as Okta, Microsoft Entra ID, and Google Workspace; logs can show which user accessed which site; and you can write identity-based policies (for example, restricting an accounting tool to the Finance team). Each authenticated user occupies a Gateway seat, the same as with the Cloudflare One Client.
Authorization endpoint vs source IP endpoint
Section titled “Authorization endpoint vs source IP endpoint”Once you create a proxy endpoint, you cannot change its type—create a new endpoint if you need a different authorization method.
Choose an authorization endpoint when you need user-level authentication, identity-based policies, association of users with proxy traffic, IdP login (Okta, Microsoft Entra ID, Google Workspace), or granular control over who may use the proxy.
Choose a source IP endpoint when you have fixed office or network locations, want setup without user authentication, devices share a common egress IP, and you do not need to identify individual users. With source IP endpoints, common policies guidance is to restrict access to users connecting from specific source IPs. For authorization endpoints, you can add the same source IP restriction as an extra layer if credentials are compromised.
The Cloudflare TypeScript SDK models endpoints with a discriminated union and kind field:
Added kind field: ‘ip’ | ‘identity’
— Cloudflare, Cloudflare Typescript SDK v6.0.0-beta.1 now available
Hosted PAC files: create, URL, and limits
Section titled “Hosted PAC files: create, URL, and limits”Cloudflare-hosted PAC files let you create and distribute PAC files from Cloudflare One on Cloudflare’s global network, with templates for Okta and Azure.
Hosted URL format:
https://pac.cloudflare-gateway.com/<account-id>/<slug>
Limits from Proxy endpoints:
| Limit | Value |
|---|---|
| Maximum file size | 256 KB per PAC file |
| Maximum PAC files per account | 50 (non-Enterprise) or 1,000 (Enterprise) |
| Update propagation | Seconds to minutes globally |
Hosted PAC files are cached globally; browsers and operating systems may also cache locally. Updates invalidate Cloudflare’s cache, but you may need to clear browser caches or restart browsers to pick up changes. You may self-host PAC files on your own infrastructure instead.
PAC file format: HTTPS directive and IdP bypass
Section titled “PAC file format: HTTPS directive and IdP bypass”Modern browsers require a PAC file for HTTPS proxies—not a raw HTTPS proxy setting alone.
You must use a PAC file instead of configuring the endpoint directly in the proxy configuration of the browser. Modern browsers do not support HTTPS proxies without PAC files.
— Cloudflare, PAC file best practices
Return HTTPS (not PROXY), for example return "HTTPS your-subdomain.proxy.cloudflare-gateway.com:443";.
For authorization endpoints, you must bypass identity provider domains in the PAC file to avoid authentication loops (the browser cannot reach the IdP if all traffic including the IdP is forced through the proxy first). PAC file best practices provides template bypass blocks for Okta, Microsoft Entra ID, Google Workspace, and others.
Additional PAC constraints from the learning path include: download within 30 seconds, HTTP 200 response, uncompressed body under 1 MB, and do not fetch PAC files through a proxy. Avoid heavy dnsResolve() / isInNet() use to limit browsing slowdowns.
Browser Isolation on authorization proxy endpoints
Section titled “Browser Isolation on authorization proxy endpoints”Browser Isolation can run on traffic from Gateway authorization proxy endpoints, with HTTP Isolate policies applied the same way as for traffic from the Cloudflare One Client.
Browser Isolation now supports Gateway authorization proxy endpoints. You can apply HTTP Isolate policies to traffic routed through authorization proxy endpoints, the same way you can for traffic from the Cloudflare One Client.
— Cloudflare, Browser Isolation support for authorization proxy endpoints
Previously, only source IP proxy endpoints supported Browser Isolation, and only with non-identity policies. Because authorization endpoints authenticate users through an identity provider, you can apply identity-based Isolate policies to PAC file-proxied traffic without the Cloudflare One Client.
Older Connectivity options text listed Browser Isolation among features proxy endpoints did not support; treat the July 2026 Browser Isolation changelog as the current rule for authorization proxy endpoints. Plan Isolate policies after the authorization endpoint and PAC path are working.
Configure devices and policies to use a PAC file
Section titled “Configure devices and policies to use a PAC file”Prerequisites on each device
Section titled “Prerequisites on each device”Before pointing a device at a PAC URL, you need a Gateway proxy endpoint, a PAC file URL (hosted or self-hosted), and the Cloudflare certificate installed where HTTPS inspection is required. See Configure a PAC file on your device.
Chromium-based browsers (Chrome, Edge, Brave) use OS proxy settings. Firefox uses its own proxy settings by default and must be configured separately (or set to use system proxy settings). Safari and iOS/iPadOS do not support the HTTPS proxy type Gateway proxy endpoints require—use Chromium or Firefox on macOS; proxy endpoints are not supported on iOS/iPadOS.
Linux GUI browsers can use system PAC URLs; most CLI tools do not read PAC files—set http_proxy and https_proxy to the proxy endpoint address when needed.
-
In Cloudflare One, go to Traffic controls → Proxy endpoints, create an authorization proxy endpoint (or source IP on Enterprise), and configure Access policies for authorization endpoints. See Get started steps in the open beta announcement.
-
Create a hosted PAC file or custom PAC; for authorization endpoints, enable IdP bypass rules. URL:
https://pac.cloudflare-gateway.com/<account-id>/<slug>. -
Configure the OS or browser with the PAC URL—Configure a PAC file on your device covers Windows, macOS, Linux, Android, ChromeOS, Firefox, and enterprise deployment (GPO, Intune, MDM, Google Admin console).
-
Install and trust the Cloudflare certificate for HTTPS inspection.
-
Create HTTP policies (and optional Browser Isolation policies) using the Proxy Endpoint selector, for example
proxy.endpoint == "3ele0ss56t.proxy.cloudflare-gateway.com"in HTTP policies and network policies.
To verify routing, create an HTTP policy that blocks a test domain (for example example.com), visit it in the browser, and confirm the Gateway block page appears—steps in Configure a PAC file on your device — Verify your configuration.
Traffic limits, logging, and common mistakes
Section titled “Traffic limits, logging, and common mistakes”What proxy endpoints do not carry
Section titled “What proxy endpoints do not carry”Proxy endpoints document feature support by endpoint type. Both types support HTTP/HTTPS (with footnotes for plaintext HTTP); source IP endpoints also support non-HTTP TCP. Neither supports UDP, HTTP/3, or mTLS authentication on the proxy path. Happy Eyeballs and browser HTTPS auto-upgrade are not supported—connection issues on auto-upgraded sites may require browser exceptions or disabling automatic HTTPS upgrades.
Authorization endpoints do not support plaintext HTTP unless configured through an Access application or bypassed in the PAC file. Referer sub-requests from the same source IP may be logged under auth-proxy-non-identity@<your-team-name>.cloudflareaccess.com because browsers do not attach the identity cookie to all sub-requests—mitigate with HTTP policies on that identity or network policies matching source IP and proxy endpoint.
PAC files at the connectivity layer only filter HTTP/HTTPS traffic routed through the PAC; they do not cover UDP, HTTP/3, or non-browser applications. Gateway DNS and resolver policies still apply to PAC-proxied traffic regardless of device configuration.
Authentication events for authorization endpoints appear in Access logs; proxied HTTP and network traffic appears in Gateway logs with the proxy endpoint identified.
Common mistakes
Section titled “Common mistakes”- Omitting IdP bypass on authorization endpoints (authentication loops).
- Using
PROXYinstead ofHTTPSinFindProxyForURL()return values. - Expecting Safari or iOS browsers to work with Gateway HTTPS proxies.
- Forgetting the Cloudflare root certificate when inspecting HTTPS.
- Assuming PAC files support username/password, mTLS, or Kerberos authorization today—Proxy endpoints states user interaction via Access for authorization endpoints and notes additional auth methods as planned for future releases.
- Relying on cached PAC content after edits without clearing browser cache or restarting the browser (PAC file best practices — Browser caches PAC files incorrectly).
How to check this on your site
Section titled “How to check this on your site”-
Confirm the proxy endpoint type (Authorization vs source IP) in Cloudflare One under Proxy endpoints matches your policy goals (identity vs IP only).
-
Open the hosted PAC URL (for example from hosted PAC file limits) in a browser and verify HTTP 200 and size under documented limits; validate syntax per PAC file best practices.
-
On a test device configured per Configure a PAC file on your device, trigger a deliberate Gateway block page with a test HTTP policy.
-
For authorization endpoints, sign in through Access, then review Access and Gateway logs for user attribution as described in Proxy endpoints — Logs.
-
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about, and we will correct or clarify it.