Create a remotely-managed tunnel (dashboard)
Follow this step-by-step guide to get your first tunnel up and running using Zero Trust.
Before you start, make sure you:
-
Log in to Zero Trust and go to Networks > Tunnels.
-
Select Create a tunnel.
-
Choose Cloudflared for the connector type and select Next.
-
Enter a name for your tunnel. We suggest choosing a name that reflects the type of resources you want to connect through this tunnel (for example,
enterprise-VPC-01
). -
Select Save tunnel.
-
Next, you will need to install
cloudflared
and run it. To do so, check that the environment under Choose an environment reflects the operating system on your machine, then copy the command in the box below and paste it into a terminal window. Run the command. -
Once the command has finished running, your connector will appear in Zero Trust.
-
Select Next.
The next steps depend on whether you want to connect an application or connect a network.
Follow these steps to connect an application through your tunnel. If you are looking to connect a network, skip to the Connect a network section.
-
In the Public Hostnames tab, choose a Domain and specify any subdomain or path information.
-
Specify a service, for example
https://localhost:8000
. -
Under Additional application settings, specify any parameters you would like to add to your tunnel configuration.
-
Select Save tunnel.
Follow these steps to connect a private network through your tunnel.
-
In the Private Networks tab, add an IP or CIDR.
-
Select Save tunnel.
After saving the tunnel, you will be redirected to the Tunnels page. Look for your new tunnel to be listed along with its active connector.