
Что это
Restores the real client IP on modded servers behind a reverse proxy (FRP, nginx, HAProxy, Traefik) by reading the PROXY protocol (v1/v2).
- Тип: мод
- Загрузчик: fabric, neoforge
- Версии Minecraft: 1.21 – 26.3
- Скачиваний на Modrinth: 993
Подробно
Stop seeing 127.0.0.1. See who's actually connecting.
When your Minecraft server sits behind a reverse proxy like FRP, nginx, HAProxy, or Traefik, every player looks like they're connecting from the proxy. Bans, logs, and IP tools all see the proxy's address instead of the real one. HAProxyCompat fixes that. It reads the PROXY protocol header (v1 and v2) that your proxy sends, pulls out the real client IP, and hands it to Minecraft as if the player connected directly.
The result: real IPs in your logs, working IP bans, and accurate geolocation. No client mod, no extra setup for players.
> Heads up: this is often not optional. Once your proxy starts sending PROXY headers, a vanilla > server has no idea what those extra bytes are and chokes on them, so players can't connect and the > server just looks offline in the client. Installing HAProxyCompat is what makes the connection work > at all. The real-IP part is the bonus.
- For: NeoForge and Fabric dedicated servers. One jar covers every supported loader and version. - Needs: Nothing else. The one Netty piece Minecraft doesn't ship is tucked inside the jar for you, so it stays a single drop-in file.
| Loader | MC versions | |---|---| | NeoForge | 1.21 to 1.21.11, 26.1.x, 26.2.x, 26.3.x | | Fabric | 26.1.x, 26.2.x, 26.3.x |
Fabric on 1.21.x is covered by the older 1.0.1 release (haproxycompat-fabric-1.21-1.0.1.jar), which still works but no longer gets updates.
1. Drop the jar into your server's mods/ folder. 2. Tell your proxy to send the PROXY header (see Point your proxy at it). 3. If your proxy runs on a different machine, add its IP to trustedproxies (see below). 4. Start the server. Done.
Out of the box it works for a proxy running on the same machine as the server. That's the only case that needs zero config.
NeoForge: settings live in config/haproxycompat-common.toml. Edit them while the server is running and they apply instantly, no restart needed.
Fabric: settings live in config/haproxycompat.json. Restart required for changes to take effect.
toml NeoForge (haproxycompat-common.toml) [general] enabled = true requireproxyprotocol = true trustedproxies = ["127.0.0.1/32", "::1/128"] logconnections = false kickmessage = "This server requires a proxy connection."
json // Fabric (haproxycompat.json) { "enabled": true, "requireProxyProtocol": true, "trustedProxies": ["127.0.0.1/32", "::1/128"], "logConnections": false, "kickMessage": "This server requires a proxy connection." }
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
ZXRP
A resource pack that adds a lot of RP items to the game. Created specifically for the RP servers 06.12.2026
Emoflix's Swords
a sword mod that adds swords from my cosmos heroes mod without the need for side mods 06.12.2026
Project Capsaicin - Optimized Minecraft Servers
Optimize your modded servers with a collection of performance boosting mods. 06.12.2026
Viking's Axe
The simple viking axe! 06.12.2026
Stack Size Display
Minecraft mod for viewing item stack byte sizes 06.12.2026
Elytra Speed Limit
Elytra Speed Limit is designed to dynamically control and limit flying speeds for players to prevent exploits, maintain performance, and… 06.12.2026