NG HaProxy Support
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 🏆 #154 of 371 forge mods in this game by downloads
📋 About This Mod
# NG Proxy Support **Adds HAProxy PROXY protocol support to your Minecraft Forge server.** See real player IP addresses when your server is behind a proxy like **Velocity**, **TCPShield**, **FRP**, **Nginx**, or any other HAProxy-compatible reverse proxy. *** ## Features * **HAProxy PROXY Protocol v1/v2** — Full support for both protocol versions * **Real IP Resolution** — Players connecting through a proxy will show their real IP in server logs, bans, and plugins * **Hybrid Mode** — Supports both proxied and direct connections simultaneously * **Fail-Closed Security** — Connections from unknown IPs are automatically rejected, preventing proxy bypass attacks * **CIDR Notation** — Whitelist entire subnets (e.g. `192.168.0.0/16`) * **TCPShield Integration** — Automatically fetch and whitelist TCPShield server IPs * **Hot-Reload Config** — Reload configuration without restarting the server * **Status Command** — View current configuration and connection stats in-game * **Connection Logging** — Log real player IPs and proxy IPs to a dedicated log file ## Commands | Command |Permission |Description | | --------------------- |---------- |------------------------------------ | | <code>/proxyprotocol reload</code> |OP Level 4 |Reload config without restart | | <code>/proxyprotocol status</code> |OP Level 4 |View current config and active rules | ## Configuration Config file: `config/proxy_protocol_support.json` ``` { "enableProxyProtocol": true, "proxyServerIPs": , "directAccessIPs": , "whitelistTCPShieldServers": false, "logConnections": true } ``` | Option |Description | | ------------------------- |-------------------------------------------------------------------------------------------------------- | | <code>enableProxyProtocol</code> |Enable/disable the mod entirely | | <code>proxyServerIPs</code> |IPs of your proxy servers (Velocity, HAProxy, etc.) — PROXY headers will only be accepted from these IPs | | <code>directAccessIPs</code> |IPs allowed to connect directly without PROXY headers | | <code>whitelistTCPShieldServers</code> |Auto-fetch TCPShield IPs and add them to proxy whitelist | | <code>logConnections</code> |Log real IP and proxy IP to <code>logs/proxy_connections.log</code> | ## How It Works ``` Player → Proxy (Velocity/HAProxy/FRP) → Forge Server (with NG Proxy Support) ↓ Reads PROXY header Extracts real IP Sets player address ``` 1. Your proxy sends a **PROXY protocol header** with the real client IP 2. NG Proxy Support intercepts incoming connections and reads the header 3. The player's address is set to their **real IP** instead of the proxy IP 4. All server logs, ban systems, and plugins see the correct IP ## Security Model NG Proxy Support uses a **fail-closed** model: * ✅ Connections from `proxyServerIPs` → PROXY header is read, real IP is extracted * ✅ Connections from `directAccessIPs` → Allowed without PROXY header * ❌ Connections from **any other IP** → Automatically **rejected** This prevents players from bypassing your proxy to connect directly and spoof their IP. ## Setup Guide ### With Velocity 1. Install NG Proxy Support on your Forge server 2. Enable PROXY protocol in Velocity's `velocity.toml`: ``` haproxy-protocol = true ``` 1. Add your Velocity server IP to `proxyServerIPs` in the mod config 2. Restart both servers ### With HAProxy / Nginx / FRP 1. Configure your reverse proxy to send PROXY protocol headers 2. Add the proxy IP to `proxyServerIPs` 3. Restart the Forge server ## Requirements * Minecraft **1.20.1** * Forge **47.x** * Java **17+** * Server-side only (no client mod needed) ## Credits Made by **xylos** | © 2024-2026 All rights reserved
# NG Proxy Support
Adds HAProxy PROXY protocol support to your Minecraft Forge server.
See real player IP addresses when your server is behind a proxy like Velocity, TCPShield, FRP, Nginx, or any other HAProxy-compatible reverse proxy.
## Features
HAProxy PROXY Protocol v1/v2 — Full support for both protocol versions Real IP Resolution — Players connecting through a proxy will show their real IP in server logs, bans, and plugins Hybrid Mode — Supports both proxied and direct connections simultaneously Fail-Closed Security — Connections from unknown IPs are automatically rejected, preventing proxy bypass attacks CIDR Notation — Whitelist entire subnets (e.g. `192. 168. 0. 0/16`) TCPShield Integration — Automatically fetch and whitelist TCPShield server IPs Hot-Reload Config — Reload configuration without restarting the server Status Command — View current configuration and connection stats in-game Connection Logging — Log real player IPs and proxy IPs to a dedicated log file
## Commands
| Command |Permission |Description |
| --------------------- |---------- |------------------------------------ |
| /proxyprotocol reload |OP Level 4 |Reload config without restart |
| /proxyprotocol status |OP Level 4 |View current config and active rules |
## Configuration
Config file: `config/proxy_protocol_support.json`
``` { "enableProxyProtocol": true, "proxyServerIPs": ["127. 0. 0. 1"], "directAccessIPs": ["127. 0. 0. 1", "192. 168. 0. 0/16"], "whitelistTCPShieldServers": false, "logConnections": true } ```
| Option |Description |
| ------------------------- |-------------------------------------------------------------------------------------------------------- |
| enableProxyProtocol |Enable/disable the mod entirely |
| proxyServerIPs |IPs of your proxy servers (Velocity, HAProxy, etc.) — PROXY headers will only be accepted from these IPs |
| directAccessIPs |IPs allowed to connect directly without PROXY headers |
| whitelistTCPShieldServers |Auto-fetch TCPShield IPs and add them to proxy whitelist |
| logConnections |Log real IP and proxy IP to logs/proxy_connections.log |
## How It Works
``` Player → Proxy (Velocity/HAProxy/FRP) → Forge Server (with NG Proxy Support) ↓ Reads PROXY header Extracts real IP Sets player address ```
1. Your proxy sends a PROXY protocol header with the real client IP 2. NG Proxy Support intercepts incoming connections and reads the header 3. The player's address is set to their real IP instead of the proxy IP 4. All server logs, ban systems, and plugins see the correct IP
## Security Model
NG Proxy Support uses a fail-closed model:
✅ Connections from `proxyServerIPs` → PROXY header is read, real IP is extracted ✅ Connections from `directAccessIPs` → Allowed without PROXY header ❌ Connections from any other IP → Automatically rejected
This prevents players from bypassing your proxy to connect directly and spoof their IP.
## Setup Guide
### With Velocity
1. Install NG Proxy Support on your Forge server 2. Enable PROXY protocol in Velocity's `velocity.toml`:
``` haproxy-protocol = true ```
1. Add your Velocity server IP to `proxyServerIPs` in the mod config 2. Restart both servers
### With HAProxy / Nginx / FRP
1. Configure your reverse proxy to send PROXY protocol headers 2. Add the proxy IP to `proxyServerIPs` 3. Restart the Forge server
## Requirements
Minecraft 1. 20. 1 Forge 47.x Java 17+ * Server-side only (no client mod needed)
Made by xylos | © 2024-2026 All rights reserved
📊 Mod Details
- Game
- Minecraft Mods
- Author
- SSbaxyS
- Version
- 1.0.0
- Downloads
- 341
- Endorsements
- 3
- Category
- forge
- Created
- 1/2/2026
- Updated
- 3/15/2026
- Game Versions
- 1.20.1
- Tags
- management, technology, utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does NG HaProxy Support support?
The author lists 1.20.1. Other versions may work but are untested by the author.
What is the latest version of NG HaProxy Support?
Version 1.0.0, published 2026-03-15 with 341 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await