Create a Proxy (Public Hostname)
Last updated
Last updated
Time Required
5 Minutes
Difficulty
Low
The Cloudflare tunnel can be done as a straight proxy, allowing all public access in, or behind an 'Application' (next page), limiting access to authenticated users or users meeting a certain requirement (eg IP range, country). This is part of Cloudflares 'Zero Trust' service, which is accessible via the Cloudflare website
Cloudflare Proxies are referred to as 'Public Hostnames'
Unfortunately the Cloudflare doco for this is rubbish, or non-existent. Hopefully the process stays the same...
Log into Cloudflare and click on Zero Trust
Navigate to Access > Tunnels
Select the relevant tunnel > configure
Click on the Public Hostname tab
Click on 'Add a public hostname' and fill in the relevant details
For internal services with self signed certificates,
Click on Additional application settings
Expand TLS
Enable 'No TLS Verify'
Click on Save Hostname
Your service will now be publicly accessible at subdomain.domain.com/path