Cloudflared Tunnel
Cloudflared Tunnel
Prerequisites
Using Cloudflare Tunnel requires that you have already added a domain in Cloudflare. For more details, see the Cloudflare Tunnel Chinese docs.
Configuration Steps
-
Go to Cloudflare Zero Trust, click Network in the sidebar, expand and click Tunnels. In “Select connector to private resources”, choose Add a tunnel, then click Next.
-
Choose Add a Tunnel, click Next, enter a tunnel name, then click Save Tunnel.
-
Copy the installation command (select the appropriate OS and architecture)
Notes for ARM devices
If you are using an armhf device (e.g., OneCloud), run this first:
-
Configure a public hostname
- Switch to the Public Hostnames tab
- Click Add a public hostname
- Select TCP protocol
- Enter the internal IP and port of One-KVM
- Click Save tunnel
After configuration, you should see the running Cloudflare Tunnel:
Access via HTTPS
When accessing the One-KVM web UI, you must use the https://
scheme, for example:
http://
will result in a "400 Bad Request" error.