Setup Proxy Protocol in Velocity
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 your Velocity Server After your Velocty server has been started, a configuration file for it should have been generated. This can be found at ./veloctiy.toml. Change the [advanced] haproxy-protocol variable from false to true.
Details on Velocity’s configurations can be found here .
Note: Normal clients will not be able to connect if they do not send proxy protocol information. Connecting directly with your Minecraft client will no longer work.
Read more