Easily configure a URL with SSL for local development using Cloudflare Argo Tunnel
There are times when you want to share what you’re working on with others. The problem is that the site is running locally on your machine, and it’s only accessible in your local network. You can open up the firewall and configure port forwrading in the router to forward the traffic to your machine and give your publicly accessible IP to your collaborators. But, that’s a lot to get started and get things working, not to mention setting up SSL certificate, among other things.
With Cloudflare Argo Tunnel, there are only a few steps to do to get things setup.
- Download and install
cloudflaredfrom Cloudflare - Run the command to create the tunnel with Cloudflare, and register the site locally for routing
cloudflared tunnel --url localhost:3000
This option allows for a quick, and secure setup with SSL that can be used for dev testing. Additionally, no ingress firewall rule is needed.
Resources