Remote Access to Your Voice Service
How to remotely access a user-managed local voice service with Cloudflare Tunnel, and when Access or password protection fits.
What You Need Before Starting
This page is part of the advanced integration documentation. The default premise is that you clearly understand this is a user-managed local voice service, not a NovelPlayer-hosted online capability.
If you just want to try the product first, it is recommended to stay with the built-in lightweight TTS or local access on the same LAN. Only continue reading this page when you genuinely need to access your own device across networks.
Before reading this page, assume you already have the following prerequisites:
- You have registered a Cloudflare account
- Your Cloudflare account already has a domain
- If you do not have a domain yet, you can purchase one yourself, for example via Cloudflare Registrar: https://www.cloudflare.com/products/registrar/
- You have enabled the Cloudflare Zero Trust free plan
- Your local voice service is already running normally on a local computer or server
If the local voice service is not running yet, it is recommended to go back and read "Prerequisites & Preparation" and "Local Access" first.
The Most Direct Remote Access Flow
If you just want NovelPlayer to connect to your local voice service from the internet, the simplest flow is:
- Create a Tunnel in Cloudflare Zero Trust
- Install and run the
cloudflaredconnector - Bind a domain of yours to this Tunnel, for example
a.yourdomain.com - Forward this domain to your local voice service, for example
http://192.168.1.1:50001 - Fill this public address back into the NovelPlayer endpoint
This route corresponds by default to "Option A: Tunnel only, no Access" below.
Create a Tunnel in Cloudflare
After enabling Zero Trust, open the Cloudflare Zero Trust dashboard:
- Click "Networks"
- Click "Connectors"
- Create a new Tunnel
- Give the Tunnel a name you can recognize
After creation, Cloudflare will move to the "Install and run a connector" step.
Install and Run the Connector
The Cloudflare page will prompt you to install the connector on the machine actually running the voice service.
Using Windows 64-bit as an example, the flow can be written as:
- Download the
cloudflaredinstaller: https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-windows-amd64.msi - Run the installer
- Open a command prompt as administrator
- Run the install command shown on the Cloudflare page, for example:
Keep this token safe. Whoever has this token can potentially connect a connector to your Tunnel.
The Cloudflare page generates the matching command based on your operating system and architecture; if you are not on Windows 64-bit, just run the command shown on the page.
Configure the Public Domain and Local Service for the Tunnel
After the connector is installed, the next step is to add a public hostname to the Tunnel.
A common configuration is:
- Public hostname:
a.yourdomain.com - Service type:
HTTP - Service URL:
http://192.168.1.1:50001
What this means:
- External users visit
a.yourdomain.com - Cloudflare Tunnel then forwards the request to your local voice service on your LAN
192.168.1.1:50001is just an example; you should change it to the actual IP and port of your voice service machine
If your local voice service runs on the same machine where cloudflared is installed, you can also configure the service URL like:
How to Fill in the Endpoint in NovelPlayer
Once the Tunnel and the public domain are configured, go back to the NovelPlayer Manager screen.
It is recommended to fill in the complete address: