HomeJavaModsOpenZiti MC
OpenZiti MC
ModsJava

OpenZiti MC

by dovholuknf · on Modrinth

Share your server with friends without opening firewall holes using an OpenZiti overlay network. Friends need just the service name and identity -- no…

⬇ Download on Modrinth
OpenZiti MC — screenshot 1OpenZiti MC — screenshot 2

OpenZiti MC

Share a Java Edition server with friends without opening firewall holes. OpenZiti MC routes the game's network traffic over an OpenZiti zero-trust overlay. This means the dedicated server never needs a public IP, a public DNS name, or an open TCP port. Connect by OpenZiti service name. The OpenZiti overlay network will then authenticate and authorize any connections to your server before a packet ever reaches it.

What it does

Why it works the way it does

The whole mod is three Mixins hooking Netty's Bootstrap/ServerBootstrap calls and swapping in ZitiChannelFactory

Requirements

OpenZiti Setup

The repo includes a setup-ziti.ps1 script that does all of this interactively and is the recommended way to set up the OpenZiti overlay.

Server Setup

Ensure the server identity is enrolled and drop the enrolled server .json into config/openziti/identity.json, then set "serverBind": { "enabled": true, "serviceName": "openziti-mc" } in the config/openziti.json file.

Client Setup

For each client running the OpenZiti MC mod, ensure the client identity is enrolled and then drop the enrolled client identity into config/openziti/identity.json.

Using the Mod

After starting Minecraft, choose: Multiplayer -> Add Server -> Server Address openziti-mc -> Done -> Join.

Additional Information

For additional information or more details see the project's main page on GitHub at https://github.com/dovholuknf/openziti-mc/. There you'll find a full step-by-step (controller + identities + policies + dev runs) guide as well in the SETUP.md.

Limitations

Architecture

For a technical deep-dive (Netty channel-factory hook, the smuggler InetSocketAddress pattern, the three Mixin classes, the ZitiContext warmup wait, the dial-retry loop) see BLOG.md in the repo.

Credits

Apache-2.0 licensed. Source at github.com/dovholuknf/openziti-mc.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more