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
@@ -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,46 +144,47 @@ 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>
0 commit comments