Skip to content
Hosting · Server networks and domains

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

ModeWhen
modernPaper 1.13+ — recommended
legacyCompatibility with old BungeeCord
bungeeguardBungee with a protection plugin
noneTesting 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:

  1. The key on the proxy and on the backend differ (extra space, line break).
  2. proxies.velocity.enabled isn't enabled on the backend.
  3. The proxy mode is legacy, but the backend expects modern.
  4. The backend has online-mode=true with 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