Skip to content

Commit 57ad374

Browse files
committed
small clarifications
1 parent 7d45bfe commit 57ad374

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/deployment-guides/terraform.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ The following configuration will modify settings in your Cloudflare account.
187187
proxied = true
188188
}
189189
190-
# Configures tunnel with a public hostname route (for clientless access).
190+
# Configures tunnel with a public hostname route for clientless access.
191191
resource "cloudflare_zero_trust_tunnel_cloudflared_config" "gcp_tunnel_config" {
192192
tunnel_id = cloudflare_zero_trust_tunnel_cloudflared.gcp_tunnel.id
193193
account_id = var.cloudflare_account_id
@@ -204,7 +204,7 @@ The following configuration will modify settings in your Cloudflare account.
204204
}
205205
}
206206
207-
# Routes internal IP of GCP instance through the tunnel (for private network access using WARP).
207+
# (Optional) Routes internal IP of GCP instance through the tunnel for private network access using WARP.
208208
resource "cloudflare_zero_trust_tunnel_cloudflared_route" "example_tunnel_route" {
209209
account_id = var.cloudflare_account_id
210210
tunnel_id = cloudflare_zero_trust_tunnel_cloudflared.gcp_tunnel.id
@@ -270,7 +270,7 @@ The following configuration will modify settings in your Cloudflare account.
270270
proxied = true
271271
}
272272
273-
# Configures tunnel with a public hostname route (for clientless access).
273+
# Configures tunnel with a public hostname route for clientless access.
274274
resource "cloudflare_zero_trust_tunnel_cloudflared_config" "gcp_tunnel_config" {
275275
tunnel_id = cloudflare_zero_trust_tunnel_cloudflared.gcp_tunnel.id
276276
account_id = var.cloudflare_account_id
@@ -285,7 +285,7 @@ The following configuration will modify settings in your Cloudflare account.
285285
}
286286
}
287287
288-
# Route internal IP of GCP instance through the tunnel (for private network access using WARP).
288+
# (Optional) Route internal IP of GCP instance through the tunnel for private network access using WARP.
289289
resource "cloudflare_zero_trust_tunnel_route" "example_tunnel_route" {
290290
account_id = var.cloudflare_account_id
291291
tunnel_id = cloudflare_zero_trust_tunnel_cloudflared.gcp_tunnel.id
@@ -419,6 +419,10 @@ The following configuration defines the specifications for the GCP virtual machi
419419

420420
The following script will install `cloudflared` and run the tunnel as a service. This example also installs a lightweight HTTP application that you can use to test connectivity.
421421

422+
:::note
423+
If you would prefer to manually install the tunnel, refer to [Install and run the tunnel](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel-api/#4-install-and-run-the-tunnel).
424+
:::
425+
422426
1. In your configuration directory, create a Terraform template file:
423427

424428
```sh

src/content/docs/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel-api.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,17 @@ To configure Zero Trust policies and connect as a user, refer to [Connect privat
142142

143143
Install `cloudflared` on your server and run the tunnel using the `token` value obtained in [2. Create a tunnel](#2-create-a-tunnel). You can also get the tunnel token using the [Cloudflare Tunnel token](/api/resources/zero_trust/subresources/tunnels/subresources/cloudflared/subresources/token/methods/get/) endpoint.
144144

145-
<Tabs> <TabItem label="Windows">
145+
<Tabs> <TabItem label="Linux">
146+
147+
1. [Download and install](https://pkg.cloudflare.com/index.html) `cloudflared`.
148+
149+
2. Run the following command:
150+
151+
```sh
152+
sudo cloudflared service install <tunnel-token>
153+
```
154+
155+
</TabItem> <TabItem label="Windows">
146156

147157
1. [Download and install](/cloudflare-one/connections/connect-networks/downloads/#windows) `cloudflared`.
148158

@@ -158,16 +168,6 @@ Install `cloudflared` on your server and run the tunnel using the `token` value
158168

159169
1. [Download and install](/cloudflare-one/connections/connect-networks/downloads/#macos) `cloudflared`.
160170

161-
2. Run the following command:
162-
163-
```sh
164-
sudo cloudflared service install <tunnel-token>
165-
```
166-
167-
</TabItem> <TabItem label="Linux">
168-
169-
1. [Download and install](https://pkg.cloudflare.com/index.html) `cloudflared`.
170-
171171
2. Run the following command:
172172

173173
```sh

0 commit comments

Comments
 (0)