For persistent operation (reboots, logoffs), install Cloudflared as a Windows service.

Finally, point your DNS records to the tunnel:

Before you can run cloudflared-windows-amd64.exe , you must obtain it. Always use the official Cloudflare repository.

cloudflared.exe tunnel login

| Local Service | Example URL | Config service line | |------------------------|--------------------------------------|--------------------------------------| | IIS (default website) | http://localhost:80 | service: http://localhost:80 | | Node.js dev server | http://localhost:3000 | service: http://localhost:3000 | | Jellyfin / Plex | http://localhost:8096 | service: http://localhost:8096 | | SMB / RDP (via Access) | tcp://localhost:3389 | service: tcp://localhost:3389 | | SSH | tcp://localhost:22 | service: tcp://localhost:22 |

tunnel: my-windows-tunnel credentials-file: C:\cloudflared\credentials.json