Skip to content

remotely connect to locally running apps using Cloudflare Tunnel

License

Notifications You must be signed in to change notification settings

tjmaynes/cloudflare-tunnel-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudflare-tunnel-terraform

remotely connect to locally running Docker containers using Cloudflare Tunnel powered by Terraform

Why?

For this effort, I decided to use Cloudflare Tunnel to connect the AI apps to the internet so that I can have my friends try out the AI apps effortlessly (just to be part of the approved Google email group in Cloudflare Zero Trust zone). Also, I didn't want to pay for cloud server costs when I could just use my own hardware.

Requirements

When creating your Cloudflare API token, set the following permissions:

Permission type Permission Access level
Account Cloudflare Tunnel Edit
Account Access: Apps and Policies Edit
Zone DNS Edit

Usage

To apply the Cloudflare Tunnel terraform plan, run the following command:

make apply

To see the Cloudflare Tunnel terraform plan, run the following command:

make plan

To destroy the Cloudflare Tunnel terraform plan, run the following command:

make destory

About

remotely connect to locally running apps using Cloudflare Tunnel

Topics

Resources

License

Stars

Watchers

Forks