Firewall and networking configuration
Last updated Apr 21, 2026 Hyperdrive uses the Cloudflare IP address ranges ↗︎ to connect to your database. If you decide to restrict the IP addresses that can access your database with firewall rules, the IP address ranges listed in this reference need to be allow-listed in your database's firewall and networking configurations.
You can connect to your database from Hyperdrive using any of the 3 following networking configurations:
- Configure your database to allow inbound connectivity from the public Internet (all IP address ranges).
- Configure your database to allow inbound connectivity from the public Internet, with only the IP address ranges used by Hyperdrive allow-listed in an IP access control list (ACL).
- Configure your database to allow inbound connectivity from a private network, and run a Cloudflare Tunnel instance in your private network to enable Hyperdrive to connect from the Cloudflare network to your private network. Refer to documentation on connecting to a private database using Tunnel.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/hyperdrive/configuration/firewall-and-networking-configuration/#page","headline":"Firewall and networking configuration","description":"Configure firewall rules and networking to allow Hyperdrive to connect to your database.","url":"https://developers.cloudflare.com/hyperdrive/configuration/firewall-and-networking-configuration/","inLanguage":"en","image":"https://developers.cloudflare.com/hyperdrive/configuration/firewall-and-networking-configuration/og.png?v=f5b528ef63efc9a3","dateModified":"2026-04-21","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: Develop and test Hyperdrive-connected Workers locally using Wrangler. title: Local development image: https://developers.cloudflare.com/hyperdrive/configuration/local-development/og.png?v=f0c98ea9bcacfe0b
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/hyperdrive/llms.txt
Use this file to discover all available pages before exploring further.
Docs