Closed timvisee closed 2 years ago
This has been implemented on the feature-proxy-header
branch. I have not been able to properly test this though.
This is released as part of v0.2.3
.
Please see: https://github.com/timvisee/lazymc/blob/master/docs/proxy-ip.md
Add a configuration option to send a HAProxy v2 header with proxied connections. This allows communicating the real client IP to the Minecraft server when a companion plugin is installed.
This fixes the Minecraft server seeing all clients connecting from the same IP, namely the proxy, breaking IP-banning features.
Spigot plugins to handle this header on the Minecraft server side:
https://github.com/thijsa/SpigotProxyhttps://github.com/epserv-ru/SpigotProxyFixes https://github.com/timvisee/lazymc/issues/9
This was suggested by @sgdc3 .