ModsFinder

PROXY protocol Wrapper

by Novogodnich

PROXY protocol Wrapper lets a Minecraft server read real client addresses from HAProxy PROXY protocol v2 headers sent by a proxy in front of it.

FabricServer-side onlyGNU General Public License v3.0 or laterOpen source1.21.11 – 26.3

What it does

Behind a reverse proxy, load balancer or CDN, the server normally sees the proxy's address instead of the player's. The mod injects custom handlers into the Netty pipeline during the handshake, so the real player IP is forwarded and used by the server. Bans, whitelists and logs then record the actual client address rather than 127.0.0.1 or the proxy's own IP. The mod works with HAProxy, Velocity, cloud mitigation providers and DDoS protection layers that send PROXY protocol v2.

Setup needs two parts. The upstream proxy or load balancer has to have PROXY protocol v2 enabled on the Minecraft backend port, for example through a send-proxy-v2 option in its HAProxy configuration. The server side only needs this Fabric mod, which is server-side only, so players join without installing anything. Files are published for Fabric only, for the 1.21.11 and 26.3 game versions, with 1.1 for 26.3 as the latest build, released 2026-10-13. The code is under the GNU General Public License v3.0 or later, so the project is open source.

Key features

  1. Accurate IP forwarding

    Real client addresses replace the proxy's address for connections that arrive with a PROXY protocol v2 header.

  2. Dynamic pipeline handling

    Handlers are added to the channel pipeline during the handshake phase, so no manual Netty changes are needed.

  3. Native Netty integration

    The required HAProxy codecs are shaded into the mod, and pipeline race conditions that cause NoSuchElementException are fixed.

  4. Ban and whitelist support

    Logs, bans and whitelist checks use the restored player IP, instead of the proxy address shared by all connections.

Compatibility

Latest build for each game version and loader.

26.31.1
1.21.111.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

HAProxyCompat is also a server-side Fabric mod for the same purpose, with Fabric and NeoForge files for 1.21 – 26.3 under the GNU General Public License v3.0 or later, and it is open source. NG HaProxy Support is a Forge-only server-side option for 1.20.1, released under the MIT License, and it is not open source. IP Whitelist (Fabric) is server-side only and open source under the GNU General Public License v3.0 only, with files for 1.21.10 – 1.21.11, but it does not forward IPs through PROXY protocol v2.

ModLoadersGame versionsEnvironmentUpdated
PROXY protocol WrapperFabric1.21.11 – 26.3Server-side only2026-10-13
HAProxyCompatFabric and NeoForge1.21 – 26.3Server-side only2026-09-24
NG HaProxy SupportForge1.20.1Server-side only2026-03-15
IP Whitelist (Fabric)Fabric1.21.10 – 1.21.11Server-side only2026-01-29

Questions

Does PROXY protocol Wrapper need to be installed on player clients?

No. Only the server needs it, and players join without installing anything.

Which game versions does PROXY protocol Wrapper support?

Files exist for 1.21.11 and 26.3, with 1.1 for 26.3 as the latest Fabric build.

What must be configured on the proxy side?

The upstream proxy or load balancer must send PROXY protocol v2 headers to the Minecraft backend port, for example with a send-proxy-v2 option in HAProxy.

In the catalog

PROXY protocol Wrapper is one of 8,499 Technology mods on ModsFinder, and one of 4,201 Technology mods for Fabric. 8,071 mods support Minecraft 26.3.

Similar mods

What the author says

A lightweight Fabric server-side mod that adds native support for the HAProxy PROXY protocol v2. It injects custom handlers into the Netty pipeline to accurately forward real player IPs behind reverse proxies, CDNs, or DDoS protection layers (like HAProxy, Velocity, or cloud mitigation providers).
Novogodnich, on the Modrinth page

Official listing

Owner
Novogodnich
Published
2026-07-08
Updated on Modrinth
2026-10-13
Facts verified
2026-10-15

Tags