Setup Proxy Protocol in GeyserMC
What is the Proxy Protocol? The Proxy Protocol provides a way for your server to receive your client’s true IP.
Enable The Proxy Protocol on GeyserMC The configuration file for GeyserMC can be difficult to find. If you have GeyserMC installed as a plugin, the configuration should be located at ./plugins/Geyser-Spigot/config.yml. Change the value of bedrock.enable-proxy-protocol from false to true.
Enable The Proxy Protocol in your Java Server and update GeyserMC It’s not much use using the Proxy Protocol in GeyserMC if that data isn’t forwarded to your Java Server. For an example on how to setup PaperMC see Setup Proxy Protocol in PaperMC . We also need to tell GeyserMC to forward the client IP information to your Java Server. This can be done by editing the config file again and setting the value remote.use-proxy-protocol from false to true.
Read more