Create a Tunnel
Last updated
Last updated
Log into Cloudflare
On the left, click on 'Zero Trust'
On the left, click on Access > Tunnels
Click on 'Create a tunnel'
Name the tunnel (eg "Home Network") and click on 'save tunnel'
Scroll down on the next page and locate the connector command,
cloudflared.exe service install``
R4nd0mStr1ng0fCh4ract3rs
Take note of the unique key after 'install' (bolded above); save this in your password vault
Click on Next
We're now forced to create a public hostname (reverse proxy). Per the scenario we will create a tunnel for Overseer;
subdomain
overseerr
domain
yourdomain.com
path
type
HTTP
url
ServerHostame:Port
click on 'Additional application settings'
Click on 'Save tunnel'
You will be brought back to the Tunnels homepage, your tunnel will show as 'inactive'
Create a new compose file in your GitHub repo using the below compose template
Create a new GitOps stack using the tunnel compose file
Under Environmental variables
add a variable "CLOUDFLARE_UUID", using the key noted in step 6 above
Deploy your stack
Refresh the Cloudflare tunnel page, it will now state 'active'
Repeat steps 2-4 for each additional tunnel you wish to create (for load balancing and redundancy)
Browse to the public hostname we created earlier (step 9; subdomain + domain) and confirm that the Overseerr screen loads
Time Required
15 Minutes
Difficulty
Low