mc-tcpmux

Crates.iomc-tcpmux
lib.rsmc-tcpmux
version0.1.0
created_at2025-07-31 08:19:49.576734+00
updated_at2025-07-31 08:19:49.576734+00
descriptionA TCP port multiplexer for Minecraft servers.
homepagehttps://github.com/r0x5a/mc-tcpmux
repositoryhttps://github.com/r0x5a/mc-tcpmux.git
max_upload_size
id1774676
size44,434
_r0x5a (r0x5a)

documentation

README

Introduction

This project is a TCP port multiplexer for Minecraft servers, allowing multiple servers to share a single port. It is designed to improve server management and reduce the need for multiple open ports.

This is a study project and is not intended for production use. It is a work in progress and may contain bugs or incomplete features. If you are looking for a stable solution, please consider using established alternatives.

Usage

  1. Install it using cargo install mc-tcpmux.
  2. Create a configuration file based on config.example.toml. Instructions can be found inside the file.
  3. Run the server with mc-tcpmux path/to/config.toml. Add -r to auto-reload the configuration file on changes.

Technical Details

The handshake packet sent by the client contains the server address and port used to connect. This project intercepts that packet and proxies the connection to the appropriate server based on the configuration file.

Similar Projects

Commit count: 0

cargo fmt