Modflared
by HttpRafa
Modflared connects a Cloudflare tunnel on startup, so a server can be reached under a chosen hostname without installing cloudflared separately.
What it does
Modflared starts the Cloudflare tunnel itself, so the cloudflared program does not have to be installed as a separate step. Tunnels are set up through a forced tunnels file in the modflared config folder, and the sample configuration in the author notes shows the expected layout. The server admin must configure the forced tunnels.json file before the tunnel can connect under the intended hostname. Files are published for Fabric, Forge and NeoForge across 23 release versions, 1.16.5 – 26.3, and the mod is licensed under the MIT License as open source.
Key features
Automatic tunnel start
The tunnel is opened automatically when the game starts, using the cloudflared tooling bundled with the mod.
Hostname routing
A tunnel can be set to connect under a chosen hostname, so the server is reachable at that address.
Forced tunnels file
Each tunnel is set up through a tunnels.json file inside the modflared folder of the config directory, and the mod ships an example layout to copy from.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x11 of 11 versions with builds
1.20.x4 of 4 versions with builds
1.19.x1 of 1 version with builds
1.18.x1 of 1 version with builds
1.16.x1 of 1 version with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Questions
Does Modflared need cloudflared installed separately?
Where is the tunnel configured?
In the catalog
Modflared is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 8,071 mods support Minecraft 26.3.
More from HttpRafa
Similar mods
What the author says
Replace example.domain.net with the correct subdomain you want to use. If you're running multiple instances (eg. with docker), change the port 25565 to whatever port you're using. Restart the cloudflare daemon (sudo systemctl restart cloudflared) to apply the changes. Add the correct DNS entry: go to Cloudflare…
Official listing
- Modrinth page
- modrinth.com/mod/modflared
- Owner
- HttpRafa
- Published
- 2022-11-01
- Updated on Modrinth
- 2026-09-16
- Facts verified
- 2026-10-15
