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 file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-networks/configure-tunnels/cloudflared-parameters/run-parameters.mdx
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,10 @@ pcx_content_type: reference
3
3
title: Tunnel run parameters
4
4
sidebar:
5
5
order: 4
6
-
7
6
---
8
7
8
+
import { Render } from"~/components";
9
+
9
10
This page lists general-purpose configuration options that you can [add](/cloudflare-one/connections/connect-networks/configure-tunnels/cloudflared-parameters/#update-tunnel-run-parameters) to the `cloudflared tunnel run` command.
10
11
11
12
Alternatively, if you are running a [locally-managed tunnel](/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/) you can add these flags to your [configuration file](/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/configuration-file/) as key/value pairs.
@@ -49,7 +50,7 @@ The IP version of `edge-bind-address` will override [`edge-ip-version`](#edge-ip
|`cloudflared tunnel --edge-ip-version <VERSION> run <UUID or NAME>`|`4`|`TUNNEL_EDGE_IP_VERSION`|
53
+
|`cloudflared tunnel --edge-ip-version <VERSION> run <UUID or NAME>`|`4`|`TUNNEL_EDGE_IP_VERSION`|
53
54
54
55
Specifies the IP address version (IPv4 or IPv6) used to establish a connection between `cloudflared` and the Cloudflare global network. Available values are `auto`, `4`, and `6`.
55
56
@@ -81,14 +82,20 @@ Specifies the verbosity of logging for the local `cloudflared` instance. Availab
|`cloudflared tunnel --metrics <IP:PORT> run <UUID or NAME>`| Refer to [Tunnel metrics](/cloudflare-one/connections/connect-networks/monitor-tunnels/metrics/)|`TUNNEL_METRICS`|
|`cloudflared tunnel --metrics <IP:PORT> run <UUID or NAME>`| Refer to [Tunnel metrics](/cloudflare-one/connections/connect-networks/monitor-tunnels/metrics/)|`TUNNEL_METRICS`|
87
88
88
89
Exposes a Prometheus endpoint on the specified IP address and port, which you can then query for [usage metrics](/cloudflare-one/connections/connect-networks/monitor-tunnels/metrics/).
89
90
90
91
## `no-autoupdate`
91
92
93
+
:::note
94
+
95
+
Does not apply if you installed `cloudflared` using a package manager. <Renderfile="tunnel/package-manager"product="cloudflare-one" />
Updates will cause `cloudflared` to restart which will impact traffic currently being served. You can perform zero-downtime upgrades by using Cloudflare's [Load Balancer product](/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/#update-with-cloudflare-load-balancer) or by using [multiple `cloudflared` instances](/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/#update-with-multiple-cloudflared-instances).
You can check if `cloudflared` was installed by a packagemanager by running `ls -la /usr/local/etc/cloudflared/` and looking for `.installedFromPackageManager` in the output.
@@ -107,7 +107,7 @@ If you installed `cloudflared` from GitHub-provided binaries or from source, run
107
107
cloudflared update
108
108
```
109
109
110
-
If you installed `cloudflared` with a package manager, you must update it using the same package manager. You can check if `cloudflared` was installed by a packagemanager by running `ls -la /usr/local/etc/cloudflared/` and looking for `.installedFromPackageManager` in the output.
110
+
If you installed `cloudflared` with a package manager, you must update it using the same package manager. <Renderfile="tunnel/package-manager"product="cloudflare-one" />
@@ -76,47 +76,48 @@ Follow these steps to connect an application through your tunnel. If you are loo
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,
If you add a multi-level subdomain (more than one level of subdomain), you must [order an Advanced Certificate for the hostname](/cloudflare-one/faq/troubleshooting/#i-see-this-site-cant-provide-a-secure-connection).
102
-
:::
103
-
104
-
Your ingress rules must include a catch-all rule at the end. In this example, `cloudflared` will respond with a 404 status code when the request does not match any of the previous hostnames.
If you add a multi-level subdomain (more than one level of subdomain), you must [order an Advanced Certificate for the hostname](/cloudflare-one/faq/troubleshooting/#i-see-this-site-cant-provide-a-secure-connection).
102
+
:::
103
+
104
+
Your ingress rules must include a catch-all rule at the end. In this example, `cloudflared` will respond with a 404 status code when the request does not match any of the previous hostnames.
105
105
106
106
2.[Create a DNS record](/api/resources/dns/subresources/records/methods/create/) for your application:
This DNS record allows Cloudflare to proxy `app.example.com` traffic to your Cloudflare Tunnel (`<tunnel-id>.cfargotunnel.com`).
120
121
121
122
This application will be publicly available on the Internet once you [run the tunnel](#4-install-and-run-the-tunnel). To allow or block specific users, [create an Access application](/cloudflare-one/applications/configure-apps/self-hosted-public-app/).
122
123
@@ -143,45 +144,46 @@ Install `cloudflared` on your server and run the tunnel using the `token` value
143
144
144
145
<Tabs> <TabItemlabel="Windows">
145
146
146
-
1.[Download and install](/cloudflare-one/connections/connect-networks/downloads/#windows)`cloudflared`.
147
+
1.[Download and install](/cloudflare-one/connections/connect-networks/downloads/#windows)`cloudflared`.
147
148
148
-
2. Open Command Prompt as administrator.
149
+
2.Open Command Prompt as administrator.
149
150
150
-
3. Run the following command:
151
+
3.Run the following command:
151
152
152
-
```txt
153
-
cloudflared.exe service install <tunnel-token>
154
-
```
153
+
```txt
154
+
cloudflared.exe service install <tunnel-token>
155
+
```
155
156
156
157
</TabItem> <TabItemlabel="macOS">
157
158
158
-
1.[Download and install](/cloudflare-one/connections/connect-networks/downloads/#macos)`cloudflared`.
159
+
1.[Download and install](/cloudflare-one/connections/connect-networks/downloads/#macos)`cloudflared`.
159
160
160
-
2. Run the following command:
161
+
2.Run the following command:
161
162
162
-
```sh
163
-
sudo cloudflared service install <tunnel-token>
164
-
```
163
+
```sh
164
+
sudo cloudflared service install <tunnel-token>
165
+
```
165
166
166
167
</TabItem> <TabItemlabel="Linux">
167
168
168
-
1.[Download and install](https://pkg.cloudflare.com/index.html)`cloudflared`.
169
+
1.[Download and install](https://pkg.cloudflare.com/index.html)`cloudflared`.
169
170
170
-
2. Run the following command:
171
+
2.Run the following command:
171
172
172
-
```sh
173
-
sudo cloudflared service install <tunnel-token>
174
-
```
173
+
```sh
174
+
sudo cloudflared service install <tunnel-token>
175
+
```
175
176
176
177
</TabItem> <TabItemlabel="Docker">
177
178
178
-
1. Open a terminal window.
179
+
1. Open a terminal window.
180
+
181
+
2. Run the following command:
179
182
180
-
2. Run the following command:
183
+
```sh
184
+
docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token <tunnel-token>
185
+
```
181
186
182
-
```sh
183
-
docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token <tunnel-token>
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ sidebar:
7
7
8
8
import { Render } from"~/components";
9
9
10
-
Follow this step-by-step guide to get your first tunnel up and running using Zero Trust.
10
+
Follow this step-by-step guide to create your first [remotely-managed tunnel](/cloudflare-one/connections/connect-networks/get-started/tunnel-useful-terms/#remotely-managed-tunnel) using Zero Trust.
You can check if `cloudflared` was installed by a package manager by running `ls -la /usr/local/etc/cloudflared/` and looking for `.installedFromPackageManager` in the output.
0 commit comments