Skip to content
Jetpack

Individual products

Security
VaultPress Backup Scan Akismet Anti-spam
Performance
Site Search Boost VideoPress
Growth
Stats Social Newsletter SEO Blaze CRM
Management
Manage Mobile App

Product Bundles

Pro Security, performance, and growth tools for your WordPress site. Complete The full Jetpack suite with higher service limits.
Pricing
Overview What Jetpack AI does for your site Skills WordPress superpowers for your agent Docs Connect and set up your AI agent Getting started Connect ChatGPT, Claude or a coding agent Compare Jetpack vs other WordPress MCP connectors

Connect your agent. It’s free.

Connect ChatGPT or Claude and let it run your site, with no paid plan needed.

Get it for ChatGPT (opens in a new tab) Or use Claude (opens in a new tab)
Support Guides and help from our team Docs How-to guides for every Jetpack feature Feature Requests Request features and vote on ideas Blog News, product updates, and how-tos
About
Sign in Get Started
Security
VaultPress Backup Scan Akismet Anti-spam
Performance
Site Search Boost VideoPress
Growth
Stats Social Newsletter SEO Blaze CRM
Management
Manage Mobile App

Product Bundles

Pro Complete
Pricing
Overview What Jetpack AI does for your site Skills WordPress superpowers for your agent Docs Connect and set up your AI agent Getting started Connect ChatGPT, Claude or a coding agent Compare Jetpack vs other WordPress MCP connectors

Connect your agent. It’s free.

Connect ChatGPT or Claude and let it run your site, with no paid plan needed.

Get it for ChatGPT (opens in a new tab) Or use Claude (opens in a new tab)
Support Guides and help from our team Docs How-to guides for every Jetpack feature Feature Requests Request features and vote on ideas Blog News, product updates, and how-tos
About Search
Sign in Get Started

Blog / Jetpack News

Local Jetpack Development with Cloudflare Tunnel

Tiago Ilieve's avatar

Tiago Ilieve December 3, 2024 · 2 min read


On this page

  1. Setting Up Cloudflare Tunnel
  2. Security Considerations
  3. Conclusion

2 min read

There are many features of Jetpack that are only available when its connection to WordPress.com is active. This affects the Jetpack development environment, where enabling the Jetpack connection may not always be straightforward. To overcome firewalls and network limitations, tools like ngrok or reverse SSH tunnels are usually used to expose a service to the internet. An alternative that is both easier and faster will be explained in this article.

Cloudflare Tunnel offers a faster and efficient solution for that. It routes traffic via Cloudflare’s global network of data centers in over 300 cities across more than 120 countries. This significantly reduces latency – they aim be within 50ms from nearly everybody in the world – and considerably improves performance. It is also free to use with a Cloudflare account if your domain’s DNS is managed by Cloudflare. Even without an account, the service works but generates random subdomains ending in .trycloudflare.com, which may not be ideal for activating Jetpack.

Setting Up Cloudflare Tunnel

Here’s a simple guide to setting up Cloudflare Tunnel for your Jetpack environment.

Start by navigating to the Cloudflare Zero Trust dashboard and creating a new tunnel:

Select the tunnel type as “Cloudflared”:

Name your tunnel and save the configuration:

Follow the instructions to install the Cloudflare Tunnel client: cloudflared. The installation process provides an authentication token to associate the client with your Cloudflare account:

Once the client is installed, configure the tunnel to route traffic to your local Jetpack development environment. Provide the subdomain to be created and the domain you’ve set up. Select HTTP as the service type, and set the service URL to localhost. No port is required if you are developing Jetpack using the Docker setup (which binds to HTTP port 80):

When everything is in place, your WordPress site with Jetpack will be accessible via the custom subdomain, complete with HTTPS:

Security Considerations

Since your local environment is now publicly accessible over the internet, it’s important to take steps to secure it. Avoid using default credentials like wordpress/wordpress, and set a strong admin password. For added protection, consider enabling Jetpack Single Sign-On (SSO).

Conclusion

Setting up a Cloudflare Tunnel provides a streamlined solution for connecting a Jetpack development environment, bypassing the complexities of traditional tools such as reverse SSH tunnels. Leveraging its global network of data centers, Cloudflare Tunnel minimizes latency and enhances performance while offering a simple, cost-effective approach. Following the outlined setup guide ensures the secure and reliable configuration of a connection, making the local Jetpack development environment site accessible over the internet via HTTPS.

Like Loading…
Tiago Ilieve's avatar

Written by

Tiago Ilieve

Explore the benefits of Jetpack

Learn how Jetpack can help you protect, speed up, and grow your WordPress site.

Explore plans

Questions about this post? Ask in the support forum

Share


Keep reading.

More from Jetpack News, newest first.

See all posts

Jetpack News Oct 23, 2026

Tell us what Jetpack should build next

Jetpack now has a public feature request board. It’s one place to tell us what you want Jetpack to do next, see what other people are…

Adam Pickering's avatar Adam Pickering 2 min read

Jetpack News Oct 2, 2026

The new Jetpack.com, one month in

A month after launch, here's what changed on Jetpack.com, how we built it as a WordPress block theme with its content in git, and what that…

Devin Walker's avatar Devin Walker 4 min read

Jetpack News Mar 6, 2026

Jetpack Social Just Got a Major Upgrade: Customize, Preview, and Share with Confidence

Jetpack Social has been revamped in version 15.6 to enhance WordPress social media sharing. Users can now customize posts for each platform, enjoy a streamlined sharing…

Devin Walker's avatar Devin Walker 4 min read

Run your WordPress site the AI-first way.

Free to start, and AI agents are free to connect. Money back within 14 days on yearly plans.

Get Started Get Jetpack free

WordPress Plugins

  • Akismet Anti-spam↗ (opens in a new tab)
  • Jetpack↗ (opens in a new tab)
  • Jetpack Boost↗ (opens in a new tab)
  • Jetpack CRM↗ (opens in a new tab)
  • Jetpack Protect↗ (opens in a new tab)
  • Jetpack Search↗ (opens in a new tab)
  • Jetpack Social↗ (opens in a new tab)
  • Jetpack VideoPress↗ (opens in a new tab)
  • VaultPress Backup↗ (opens in a new tab)
  • WP Super Cache↗ (opens in a new tab)
  • Download

AI

  • Jetpack AI
  • Skills
  • WordPress MCP

Partners

  • Partner Program
  • Recommended Hosts
  • For Hosts
  • For Agencies
  • For Affiliates

Developers

  • Documentation↗ (opens in a new tab)
  • Beta Program
  • Jetpack on GitHub↗ (opens in a new tab)

Help

  • Knowledge Base
  • Forums↗ (opens in a new tab)
  • Reviews and Testimonials
  • Contact Us
  • About Jetpack
  • Press
Select language English
  • English
  • Deutsch
  • Español
  • Français
  • 日本語

© 2026 Automattic Inc. All rights reserved.

  • Terms of Service↗ (opens in a new tab)
  • Privacy Policy↗ (opens in a new tab)
  • GDPR

Made with care by

Download on the App Store Get it on Google Play
Loading Comments...
  • Reblog
  • Subscribe Subscribed
    Jetpack
    Join 53,352 other subscribers

    Have a WordPress.com account? Log in now.

  • Jetpack
    Copy shortlinkView post in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar
%d