| Crates.io | infrarust |
| lib.rs | infrarust |
| version | 1.4.1 |
| created_at | 2025-01-18 17:42:15.367298+00 |
| updated_at | 2025-06-15 18:30:30.209358+00 |
| description | A Rust universal Minecraft proxy |
| homepage | https://infrarust.dev |
| repository | https://github.com/shadowner/infrarust |
| max_upload_size | |
| id | 1522009 |
| size | 557,484 |
[!WARNING] Infrarust is currently in active development. This project is a Rust implementation inspired by Infrared, focusing on performance and enhanced features.
A blazing fast Minecraft reverse proxy that allows you to expose multiple Minecraft servers through a single port. It uses domain/subdomain-based routing to direct clients to specific Minecraft servers.
# From source
git clone https://github.com/shadowner/infrarust
cd infrarust
cargo build --release
# Or via cargo
cargo install infrarust
Create a config.yaml file:
bind: "0.0.0.0:25565"
file_provider:
proxies_path: ["./proxies"]
watch: true # Enable hot-reload
And create your server configurations in the proxies directory:
# proxies/my-server.yml
domains:
- "hub.minecraft.example.com"
addresses:
- "localhost:25566"
proxyMode: "passthrough" # Options: passthrough, client_only, offline, server_only
Visit infrarust.dev for complete documentation:
Infrarust can automatically detect and proxy Minecraft servers running in Docker containers:
docker_provider:
docker_host: "unix:///var/run/docker.sock"
label_prefix: "infrarust"
watch: true
Container configuration is done through Docker labels:
infrarust.enable=true
infrarust.domains=mc.example.com
Infrarust provides comprehensive telemetry through OpenTelemetry integration, including metrics, traces, and logs. The project includes a ready-to-use monitoring stack in the docker/monitoring directory.
cd docker/monitoring
docker compose up -d
This will start:
Infrarust leverages Rust's performance capabilities:
[!NOTE] This project was initiated as a learning experience in advanced Rust programming, with continuous improvements and optimizations expected as development progresses.
Contributions are welcome! Check out our Contributing Guidelines to get started.
Feel free to join our Discord if you have any questions!
Infrarust is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.