Cloudflared Tunnel
Cloudflared Tunnel¶
Prerequisite
Using Cloudflare Tunnel requires a domain already added in Cloudflare. For more details, see Cloudflare Tunnel Chinese docs.
Setup Steps¶
-
Go to Cloudflare Zero Trust, click Network in the sidebar, expand it, then click Tunnels. Under Select connector to private resources, choose Add a tunnel and click Next.
-
Click Add a Tunnel, then Next, enter a tunnel name, and click Save Tunnel.
-
Copy the install command (select your OS and architecture).
-
Configure the public hostname
- Switch to the Public Hostnames tab
- Click Add a public hostname
- Select the TCP protocol
- Enter One-KVM LAN IP and port
- Click Save tunnel
After configuration, you will see the Cloudflare Tunnel running:
Access with HTTPS
When accessing the One-KVM web UI, you must use the https:// scheme, for example:
http:// will return a "400 Bad Request" error.







