Mod

Modflared

Quick rating

Modflared

No reviews yet

Automatically connects you to a Cloudflare tunnel without having to install cloudflared separately.

No Theme
No Genre
Small Group & Co-op Play
QoL & Tweaks
Server Utility
Mod Loaders
Forge
NeoForge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.7.0+release.152 for 26.1
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Modflared

Automatically connects you to a Cloudflare tunnel without having to install cloudflared separately. The mod allows your friends to join your server via cloudflare tunnel without much setup. It checks whether the server needs Cloudflare and if so, it sets up Cloudflared for you and starts it with the right arguments. The mod integrates the cloudflared program into Minecraft.

How to use

To be able to use the mod you have to be on the operating system Windows, Linux, or MacOS.

More information

Check out the README file here

Other resources

For more detailed instructions, you can also read Varun A's blog post. The blog post can be found here.

Modflared

Automatically connects you to a Cloudflare tunnel without having to install cloudflared separately.

This mod has not yet been fully tested!

How to use

To be able to use the mod you have to be on the operating system Windows, Linux, or MacOS.

Other resources

For more detailed instructions, you can read Adalie's blog post.

Configuring Cloudflared

You need to set up cloudflare on your server for this to work. There's plenty of guides on how to do this elsewhere.
Make sure in your config file (possibly in /etc/cloudflared/config.yml) you have the lines:

- hostname: example.domain.net
  service: tcp://localhost:25565

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 dashboard, go to your website and DNS entries, then add a new CNAME DNS entry with your subdomain and set the target to <tunnelID>.cfargotunnel.com, with the tunnel ID found in the cloudflare config.yml file.

Example DNS Entries

Example CNAME Example TXT

For Players

If your server admin has properly configured their server you should be able to connect to the server as usual. No extra configuration is needed.

If your server admin has not properly configured their server, you will need to add their server to the forced_tunnels.json file in the modflared config folder.

Example configuration (modflared/forced_tunnels.json)

["example.domain.net", "example2.domain.net"]

Server Admins (Setting Up cloudflared)

Install Cloudflared as described in the “Configuring Cloudflared” part above.

Telling modflared to use connect to your server using cloudflared

For the hostname that you want your players to connect to (eg. example.domain.net), create a TXT dns record with either of the following values:

  • cloudflared-use-tunnel - This will make modflared connect to the tunnel on the hostname itself (eg. example.domain.net)
  • cloudflared-route=<route> - This will make modflared connect to the tunnel under the hostname of <route>. (ex. setting cloudflared-route=example2.domain.net will make modflared connect to the tunnel on example2.domain.net instead of example.domain.net)

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~58,000
Total Downloads
CurseForge
~17,000
Modrinth
~40,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync