Skip to content

πŸš€ blazingly fast custom minecraft handshake verification proxy, built in rust πŸ”₯ πŸ”₯ πŸ”₯

License

Notifications You must be signed in to change notification settings

CloudCraftProjects/pre-proxy

Repository files navigation

pre-proxy

A fast and simple Minecraft proxy which validates the initial protocol handshake and forwards connections using the Proxy Protocol V2.

Configuration

This proxy can be configured using the config.yml file in YAML format. The following options are available:

  • bind_address: A single IPv4 or IPv6 socket address to bind on
  • connection_address: A single IPv4 or IPv6 socket address to forward connections to
  • hosts: A list of regular expressions which will be matched against the hostname used for connecting, connections which fail to match will be denied

Please note that unix domain sockets are not supported at the moment.

How to compile

To compile this software you need to have rust installed. Installation via rustup is recommended.

  1. Clone this repository
  2. Run cargo build --release
  3. Use the binary at target/release/cc-pre-proxy

How to use (via binary)

Run the binary once, a sample config.yml file will be generated. See above for how to configure the config.yml file and then run the binary again.

How to use (via docker)

Build the docker image using the Dockerfile or directly use the docker compose setup in this repository (just use docker compose up -d after configuring docker-compose.override.yml).

Licensing

This software is licensed under the terms of the GNU General Public License v3.0.

This software uses code from the following projects:

About

πŸš€ blazingly fast custom minecraft handshake verification proxy, built in rust πŸ”₯ πŸ”₯ πŸ”₯

Topics

Resources

License

Stars

Watchers

Forks

Packages