You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy the `id` and `token` values shown in the output. You will need these values to configure and run the tunnel.
65
65
66
-
The next steps depend on whether you want to [connect an application](#3a-connect-an-application) or [connect a network](#3b-connect-a-network).
66
+
The next steps depend on whether you want to [publish an application to the Internet](#3a-publish-an-application) or [connect a private network](#3b-connect-a-network).
67
67
68
-
## 3a. Connect an application
68
+
## 3a. Publish an application
69
69
70
-
Before you connect an application through your tunnel, you must:
70
+
Before you publish an application through your tunnel, you must:
71
71
72
72
-[Add a website to Cloudflare](/fundamentals/setup/manage-domains/add-site/).
73
73
-[Change your domain nameservers to Cloudflare](/dns/zone-setups/full-setup/setup/).
74
74
75
-
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](#3b-connect-a-network).
75
+
Follow these steps to publish an application to the Internet. If you are looking to connect a private resource, skip to the [Connect a network](#3b-connect-a-network) section.
76
76
77
77
1. Make a [`PUT` request](/api/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/configurations/methods/update/) to route your local service URL to a public hostname. For example,
To configure Zero Trust policies and connect as a user, refer to [Connect private networks](/cloudflare-one/connections/connect-networks/private-net/cloudflared/).
139
+
`cloudflared` can now route traffic to these destination IPs. To configure Zero Trust policies and connect as a user, refer to [Connect private networks](/cloudflare-one/connections/connect-networks/private-net/cloudflared/).
The next steps depend on whether you want to [connect an application](#2a-connect-an-application) or [connect a network](#2b-connect-a-network).
16
+
The next steps depend on whether you want to [publish an application to the Internet](#2a-publish-an-application) or [connect a private network](#2b-connect-a-network).
17
17
18
-
## 2a. Connect an application
18
+
## 2a. Publish an application
19
19
20
-
Before you connect an application through your tunnel, you must:
20
+
Before you publish an application through your tunnel, you must:
21
21
22
22
-[Add a website to Cloudflare](/fundamentals/setup/manage-domains/add-site/).
23
23
-[Change your domain nameservers to Cloudflare](/dns/zone-setups/full-setup/setup/).
24
24
25
-
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](#2b-connect-a-network).
25
+
Follow these steps to publish an application to the Internet. If you are looking to connect a private resource, skip to the [Connect a network](#2b-connect-a-network) section.
The application is now publicly available on the Internet. To allow or block specific users, [create an Access application](/cloudflare-one/applications/configure-apps/self-hosted-public-app/).
29
+
Anyone on the Internet can now access the application at the specified hostname. To allow or block specific users, [create an Access application](/cloudflare-one/applications/configure-apps/self-hosted-public-app/).
30
30
31
31
## 2b. Connect a network
32
32
33
-
Follow these steps to connect a private network through your tunnel.
33
+
To connect a private network through your tunnel:
34
34
35
-
1. In the **Private Networks** tab, add the IP or CIDR of your service.
35
+
1. Go to the **Private networks** tab.
36
+
2. In **CIDR**, enter the private IP address or CIDR range of your service (for example, `10.0.0.1` or `10.0.0.0/8`).
36
37
37
-
2. Select **Save tunnel**.
38
+
`cloudflared` can now route traffic to these destination IPs. To configure Zero Trust policies and connect as a user, refer to [Connect an IP/CIDR](/cloudflare-one/connections/connect-networks/private-net/cloudflared/).
38
39
39
-
To configure Zero Trust policies and connect as a user, refer to [Connect private networks](/cloudflare-one/connections/connect-networks/private-net/cloudflared/).
40
+
If you would like to route to a private application using its hostname instead of its IP, refer to [Connect a private hostname](/cloudflare-one/connections/connect-networks/private-net/cloudflared/connect-private-hostname/).
Copy file name to clipboardExpand all lines: src/content/partials/cloudflare-one/tunnel/add-public-hostname.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
---
5
5
6
-
1.In the **Public Hostnames** tab, select **Add a public hostname**.
6
+
1.Go to the **Published applications** tab.
7
7
8
8
2. Enter a subdomain and select a **Domain** from the dropdown menu. Specify any subdomain or path information.
9
9
:::note
@@ -14,4 +14,4 @@
14
14
15
15
4. Under **Additional application settings**, specify any [parameters](/cloudflare-one/connections/connect-networks/configure-tunnels/cloudflared-parameters/origin-parameters/) you would like to add to your tunnel configuration.
0 commit comments