IP-forwarding and “Unable to authenticate”
Why a proxy passes the player's address to the backend, forwarding modes, how to configure the key, and analysis of the authentication error.
Updated August 13, 2026
Without IP forwarding, the backend server sees all players as a single address — the proxy's address. Everything that depends on IP breaks: bans, limits, anti-bot, statistics.
Velocity modes
| Mode | When |
|---|---|
modern | Paper 1.13+ — recommended |
legacy | Compatibility with old BungeeCord |
bungeeguard | Bungee with a protection plugin |
none | Testing only |
Configuring modern
On the proxy:
player-info-forwarding-mode = "modern"
forwarding-secret-file = "forwarding.secret"
On each backend (Paper), config/paper-global.yml:
proxies:
velocity:
enabled: true
online-mode: true
secret: "same_key"
And online-mode=false in the backend's server.properties.
Unable to authenticate error
It appears when the key or the mode doesn't match:
- The key on the proxy and on the backend differ (extra space, line break).
proxies.velocity.enabledisn't enabled on the backend.- The proxy mode is
legacy, but the backend expectsmodern. - The backend has
online-mode=truewith modern forwarding.
Security
online-mode=false on the backend is safe only when direct access is closed: otherwise anyone can join directly under someone else's nickname. In Millida, the network's backends aren't reachable from outside — Server network.
Minecraft hostingYour server runs while you are offlineCreate server
