System requirements

Last updated Sep 11, 2026 cloudflared is lightweight enough to run on a Raspberry Pi or a data center server. Tunnel throughput is primarily limited by the number of ports configured in system software, not hardware.

Baseline recommendations

Run a cloudflared replica on two dedicated hosts per location with a minimum of 4 GB RAM and 4 CPU cores. Allocate 50,000 ports per host.

Port configuration

To increase the number of ports available to cloudflared on Linux:

If your machine has a /etc/sysctl.d/ directory:

echo 'net.ipv4.ip_local_port_range = 11000 60999' | sudo tee -a /etc/sysctl.d/99-cloudflared.conf
sudo sysctl -p /etc/sysctl.d/99-cloudflared.conf

Otherwise:

echo 'net.ipv4.ip_local_port_range = 11000 60999' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

To increase the number of ports available to cloudflared on Windows, set the dynamic port range ↗︎ for TCP and UDP:

netsh int ipv4 set dynamicport tcp start=11000 num=50000
netsh int ipv4 set dynamicport udp start=11000 num=50000
netsh int ipv6 set dynamicport tcp start=11000 num=50000
netsh int ipv6 set dynamicport udp start=11000 num=50000

ulimits (Linux and macOS)

On Linux and macOS, ulimit settings determine the system resources available to a logged-in user. We recommend configuring the following ulimits on the cloudflared server:

ulimit Description Value
-n Maximum number of open files or file descriptors ≥ 70,000

To view your current ulimits, open a terminal and run:

ulimit -a

To set the open files ulimit:

ulimit -n 70000

The command above sets the open files limit only for the current terminal session and will not persist after a reboot or new login. To apply this limit permanently, configure it using the persistent method appropriate for your operating system.

Capacity calculator

To estimate tunnel capacity requirements for your deployment:

  1. Use the metrics endpoint to measure cloudflared_tcp_total_sessions and cloudflared_udp_total_sessions.
  2. Compute the average TCP requests per second by dividing cloudflared_tcp_total_sessions by total time.
  3. Compute the average Non-DNS UDP requests per second by dividing cloudflared_udp_total_sessions by total time.
  4. Input TCP requests per second and Non-DNS UDP requests per second into the calculator below. (You can leave Private DNS requests per second as 0 unless you are using the tunnel for private network access.)

System configuration

Available ports per host

Number of cloudflared replicas

DNS UDP session timeout (in seconds)

Average non-DNS UDP session timeout (seconds)

Metrics

TCP requests per second

Non-DNS UDP requests per second

Private DNS requests per second

Result

Percent capacity per replica

Percent capacity across all replicas

Maximum DNS requests per minute across all replicas

<sup>This calculator is for informational purposes only and all results are estimates.</sup>

To increase tunnel capacity, add identical hosts running cloudflared replicas.

Was this helpful?

YesNo

On this page

System requirements - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/tunnel/platform/system-requirements/#page","headline":"System requirements","description":"System requirements for running cloudflared.","url":"https://developers.cloudflare.com/tunnel/platform/system-requirements/","inLanguage":"en","image":"https://developers.cloudflare.com/tunnel/platform/system-requirements/og.png?v=3515c014872b40cd","dateModified":"2026-09-11","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Use Cloudflare Tunnel with Cloudflare One, Workers VPC, Load Balancing, Access, Spectrum, and other Cloudflare services. title: Integrations image: https://developers.cloudflare.com/tunnel/integrations/og.png?v=80f29302ed87e705


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/tunnel/llms.txt
Use this file to discover all available pages before exploring further.