dinglenut.mp4
First choose a port to expose the app, e.g 25565
.
Then make a file named servers.txt
containing different Minecraft servers in this format:
IPv4:port
IPv4:port
IPv4:port
...
(servers.txt
must be at the same level, or next to the binary.)
When that is ready, run the app, and you are able to connect to it from your Minecraft client.
Let's say you're running it on the same machine as your client: connect to 127.0.0.1:<the_port_you_chose_earlier>
.
At each new connection, you'll connect to a random server on the specified file servers.txt
.
And for the how, the program uses Asio (a networking library in C++) to route all the incoming packets from you (the client) to some server chosen at random, and forward all packets coming from the random server to the client (you).
This also means that every packet exchanged can be read and also modified by the program 😉😉😉😉😉, although currently that is not the case.
There is a prebuilt binary for x64 systems.
As for other architectures, you must build it yourself:
- Clone
git clone https://github.com/Urpagin/MCRandomProxy && cd MCRandomProxy
- Make Build Directory
mkdir build && cd build
- Build
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --config Release -- -j 16
The program is compiled and ready to be executed (./MCRandomProxy
). Now make the servers.txt
file next to the binary.
- Make & Populate
servers.txt
vim servers.txt
There is a prebuilt binary for x64 systems.
Requires Microsoft Visual C++ Redistributable (vcredist) to be installed:
Useful links:
There is no prebuilt binary yet. You must build it yourself.
Yet to be done.