Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.2
1.14.4
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.8–1.8.9
Platforms
Supported environments
Dedicated servers only
Links
Tags
Creators
Details
ServerFlared
ServerFlared is a mod that automatically creates and manages a Cloudflare Tunnel for your Minecraft server, allowing players to connect without exposing your public IP address or manually configuring port forwarding.
Requirements
- A Cloudflare account
- A domain name connected to Cloudflare
- (For client/players only) cloudflared program (this mod does the work of automatic managing cloudflared in your server)
Installation
- Install the mod into
modsfolder - Launch Minecraft server
- Configure
config.ymland changetunnelNameandhostName - Relaunch server to update configuration
Features
- Automatic Cloudflare Tunnel setup – Creates and manages a Cloudflare Tunnel with minimal configuration by authenticating your Cloudflare account.
- Automatic cloudflared download – Downloads the required cloudflared binary automatically, reducing manual installation steps. (It automatically works with existing cloudflared installation in your machine!)
- Seamless tunnel configuration – Generates and maintains the necessary tunnel configuration, so you only need to specify their tunnel and hostname.
- Integrated tunnel lifecycle – Starts and stops the Cloudflare Tunnel alongside the Minecraft server, ensuring the tunnel is always available while the server is running.
- Secure remote access – Allows players to connect through a Cloudflare-managed hostname instead of exposing the server's IP address. Ideal for NAT-restricted networks – Makes hosting possible even when traditional port forwarding is unavailable or impractical. Also works best small servers (e.g. with your friends)
License
References
https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/


