Minecraft

Your Backend Servers Are Listening to the Whole Internet

Running a proxy means turning authentication off on every server behind it. BungeeCord's own documentation admits what that costs you, and Velocity's docs are blunt that forwarding is not a substitute for a firewall. Here's the attack, and the exact config that closes it.

Your Backend Servers Are Listening to the Whole Internet
Photo by Sunrise King / Unsplash

The moment you put a proxy in front of your network, you turn off authentication on every server behind it.

That isn't a misconfiguration. It's how proxies work. The proxy talks to Mojang, verifies the player, and then hands the connection to a backend. The backend can't verify anything itself — the player already authenticated somewhere else — so it has to be told to stop trying:

online-mode=false

SpigotMC's own BungeeCord installation guide states the consequence without hedging:

As your servers will now be running without authentication, this poses a new security risk. Users may connect to your servers directly, under any username they wish to use.

Read that last clause again. Any username they wish to use. Including yours.

The Attack

Your backend is sitting on port 25566 expecting connections from one place — the proxy. It has no way to check that assumption, because you told it not to authenticate.

Anything that can reach that port can connect. And with legacy BungeeCord forwarding, the connecting client simply states who it is. You don't have to take my word for the format — here is the comment above the function that builds it, in Velocity's own PlayerDataForwarding.java:

    // BungeeCord IP forwarding is simply a special injection after the "address" in the handshake,
    // separated by \0 (the null byte). In order, you send the original host, the player's IP, their
    // UUID (undashed), and if you are in online-mode, their login properties (from Mojang).

Four values in a null-separated string, stapled onto the end of the handshake's address field. No signature, no key, no timestamp, nothing to verify. Velocity's documentation calls legacy forwarding "fundamentally insecure," and Paper's implementation notes are equally direct — the class Javadoc on Paper's VelocityProxy.java opens with "While Velocity supports BungeeCord-style IP forwarding, it is not secure."

So an attacker who can reach your survival server directly connects as your administrator's username, with your administrator's UUID. Every permission plugin on that server checks UUID. They all agree. The attacker has op.

And they do not need to guess the UUID. An online-mode UUID is assigned by Mojang, not by your server, and it is not secret — username-to-UUID lookup is a public operation, which is why every skin site, stats tracker and ban-list service can do it. The value your permission system treats as an identity is one your attacker can simply look up. That is fine when something is verifying the player owns it. It is the whole problem when nothing is.

No exploit, no CVE, no vulnerability in anything. The system did exactly what it was built to do, and the only thing standing between it and a stranger was a network boundary that was never there.

The Whitelist Won't Save You Either

The instinct at this point is that white-list=true catches it. On a proxied setup, not reliably. SpigotMC's installation guide warns, for the single-host case:

Keep in mind during testing that the player whitelist will be ignored for connections coming from the same host as your proxy!

If your proxy and backends share a machine and you are binding to 127.0.0.1, that is the normal and correct configuration — and it is also a configuration where the backend whitelist stops being a control. Anything with local access to that box connects as anyone. On a shared or multi-tenant host, "local access" is not a short list.

How They Find You

Mass scanners catalogue the internet continuously. A backend that has ever listened on a public IP gets indexed by Shodan and its equivalents — port, version string, MOTD, player count.

There is a particular way this happens to people who did nothing wrong. You set the network up, tested it by connecting directly to the backend before the proxy was ready, and never changed the bind address afterwards. It worked, so you moved on. The scanner found it three days later.

Velocity Modern Forwarding

Velocity's modern forwarding fixes the trust problem properly. Four modes exist, only one of them is good, and the one you get by default is not it. The shipped default-velocity.toml sets:

player-info-forwarding-mode = "NONE"

A fresh Velocity install forwards nothing. Every player arrives at the backend looking like it came from the proxy's IP, with an offline-mode UUID. That is a safe default in the narrow sense that nothing is trusted, and a broken one in every practical sense: skins break, UUIDs are wrong, and every record keyed on a UUID is keyed on the wrong one. People fix the symptom by reaching for legacy, because it is the setting that makes the symptom go away, and in doing so take the insecure path on purpose.

Mode What the backend trusts Use when
none Nothing — everyone gets offline UUIDs from the proxy's IP Never, for a real network
legacy Whatever the connection claims You must support pre-1.13 clients
bungeeguard Legacy format plus a shared token Pre-1.13 and you can't firewall
modern MAC-signed data, cryptographically verified 1.13+. This one.

The casing is not significant — the shipped file writes the value as "NONE" while its own comment block lists the options in lowercase, and either is parsed the same. Don't go hunting for a difference that isn't there.

Modern forwarding requires Minecraft 1.13 or later, and Paper 1.14+ or Paper 1.13.1/1.13.2 build 377 and above. It is incompatible with ProtocolSupport. On Fabric and Forge backends it needs a mod — FabricProxy-Lite or CrossStitch on Fabric, ProxyCompatibleForge on Forge 1.14+.

And if you are still on BungeeCord or Waterfall: PaperMC announced the end of Waterfall's life on 26 March 2024, telling users to "Migrate to Velocity!" and warning that "You also shouldn't count on updates to new Minecraft versions." Waterfall builds remain downloadable. They are not a platform to design a 2026 network around, and the security argument for moving is the one in this article — modern forwarding simply does not exist on that side of the fence.

How the Signature Actually Works

"It's signed" is where most explanations stop, and the details decide what you actually get.

Paper's VelocityProxy.java states the design in its class Javadoc:

Velocity's modern IP forwarding uses an HMAC-SHA256 code to ensure authenticity of messages, is packed into a binary format that is smaller than BungeeCord's forwarding, and is integrated into the Minecraft login process by using the 1.13 login plugin message packet.

Three separate things in that sentence. The data moves over a login plugin message on the channel velocity:player_info rather than smuggled inside the handshake address. It is a binary payload — version, address, UUID, name, profile properties — rather than a delimited string. And it carries an HMAC-SHA256 over that payload, keyed on the shared secret.

The verification on the backend is twenty lines, from the same file:

    public static boolean checkIntegrity(final FriendlyByteBuf buf) {
        final byte[] signature = new byte[32];
        buf.readBytes(signature);

        final byte[] data = new byte[buf.readableBytes()];
        buf.getBytes(buf.readerIndex(), data);

        try {
            final Mac mac = Mac.getInstance("HmacSHA256");
            mac.init(new SecretKeySpec(GlobalConfiguration.get().proxies.velocity.secret.getBytes(java.nio.charset.StandardCharsets.UTF_8), "HmacSHA256"));
            final byte[] mySignature = mac.doFinal(data);
            if (!MessageDigest.isEqual(signature, mySignature)) {
                return false;
            }
        } catch (final InvalidKeyException | NoSuchAlgorithmException e) {
            throw new AssertionError(e);
        }

        return true;
    }

Two details in there are worth pulling out.

MessageDigest.isEqual rather than Arrays.equals. The JDK's implementation note on that method is the reason it matters: "All bytes in digesta are examined to determine equality. The calculation time depends only on the length of digesta. It does not depend on the length of digestb or the contents of digesta and digestb."

A naive compare that returns early on the first mismatched byte leaks, through timing, how many leading bytes of a forged signature were right. That is the whole game: guessing a 32-byte HMAC blind is a 2^256 search, and recovering it a byte at a time is at most 32 x 256, or 8,192 attempts. Note also which argument goes where — the attacker-controlled value is signature, passed as digesta, and its length is pinned at 32 by the new byte[32] on the function's first line, so the timing depends on a constant. Someone thought about this, and its absence would have been a real finding.

And secret.getBytes(UTF_8) — the configured string becomes the HMAC key verbatim. There is no trimming, no normalisation, no hashing first. A trailing newline is a different key. That is the mechanism behind the migration advice further down, and it is why "the secret looks right" is not the same as "the secret is right."

Forged handshakes fail. What that buys you, precisely, is authenticity of the forwarded identity — nothing more. Hold that thought for the firewall section.

The Config, All Three Files

This is where people get it half-right and end up with a network that works and isn't protected. All three files have to agree.

velocity.toml:

# The proxy authenticates with Mojang. This should stay true.
online-mode = true

player-info-forwarding-mode = "modern"
forwarding-secret-file = "forwarding.secret"

[servers]
  lobby    = "10.0.0.11:25566"
  survival = "10.0.0.12:25566"
  try = ["lobby"]

config/paper-global.yml on every backend:

proxies:
  velocity:
    enabled: true
    online-mode: true
    secret: 'paste-the-contents-of-forwarding.secret-here'

Paper's documentation on proxies.velocity.online-mode is worth reading literally: "Always set to match your proxy's online-mode setting." It governs how the backend derives UUIDs, and a mismatch between the two gives you a server where every player's UUID is wrong — which looks like data loss, not a config error, because every permission and economy record is keyed on the UUID you just changed.

spigot.yml on every backend — and this is the one that gets missed:

settings:
  bungeecord: false

If you previously ran BungeeCord, that key is still set to true in that file, and nothing about migrating to Velocity changed it. You configured the secure path and left the old one open beside it.

Note that paper-global.yml has its own proxies.bungee-cord.online-mode key. That is not an on/off switch — it only tells Paper how to handle UUIDs if BungeeCord forwarding is active. The switch is the one in spigot.yml. Setting the Paper key and assuming you've disabled anything is a common and expensive misreading.

Paper's documentation says plainly what that switch turns on: settings.bungeecord defaults to false, and enabling it enables "Receiving forwarded player-data and source ips." That is the capability you are trying not to have on a backend you have already secured a different way.

And nothing objects to both being on. The two settings live in different files, are read independently, and are consulted with an or — isProxyOnlineMode() in Paper's GlobalConfiguration returns true if the server is online-mode or bungee forwarding is on or velocity forwarding is on. There is no cross-check and no startup warning for the combination. It works, which is the problem.

The Fail-Open You Should Know About

Here is the one worth setting an alarm for. Paper's Velocity configuration runs a post-processing step, and what it does when the secret is missing is not what most people would assume:

                if (this.secret.isEmpty()) {
                    LOGGER.error("Velocity is enabled, but no secret key was specified. A secret key is required. Disabling velocity...");
                    this.enabled = false;
                }

An empty secret does not stop the server. It logs an error and turns modern forwarding off, then carries on booting. Combine that with the previous paragraph and the full failure looks like this: you typo the secret path, or your config-management step writes an empty file, or a container starts before the secret volume is mounted. Velocity forwarding silently disables itself. The stale spigot.yml key from two paragraphs ago is still enabled. The backend comes up accepting legacy unauthenticated forwarding, your players connect through the proxy perfectly normally, and the only evidence is one ERROR line in a log nobody reads.

Grep for that string after every deployment. It is the difference between a secure network and a network that looks identical to a secure one.

If you would rather the secret not live in a config file at all, Paper reads PAPER_VELOCITY_SECRET from the environment and prefers it over the file's value when it is set and non-empty. That does not hide it from plugins — anything in the JVM can call System.getenv — but it does keep the secret out of a YAML file that gets committed, backed up, or pasted into a support thread, which is how these things actually leak.

The secret itself must be copied verbatim into every backend. A trailing newline or a stray space is the usual cause of "backend rejects all connections" after a migration — and, given the block above, of a backend that stops rejecting anything at all.

Forwarding Is Not a Substitute for a Firewall

That heading is not editorial. It is close to a direct quote from Velocity's own security documentation, which states plainly that "Velocity modern forwarding is not a replacement for a firewall" and that "The Velocity project strongly recommends the use of a firewall."

The reasoning is simple. Modern forwarding means an attacker can't forge an identity. It does not mean they can't reach the port, fingerprint your server, or hammer it with connection attempts. And the whole scheme "relies on the forwarding secret being kept secret" — which, given that a copy of that secret sits in a config file on every backend, is a property your plugin trust model also has to hold up. Any plugin on any backend can read it.

Bind to a private interface. In server.properties on each backend:

server-ip=10.0.0.12

Not blank, which means all interfaces. If proxy and backends share a host, 127.0.0.1 is better still — with the whitelist caveat from earlier kept firmly in mind.

Then enforce it at the firewall. Only the proxy should reach the backend port:

# Allow the proxy, drop everything else
sudo ufw allow from 10.0.0.10 to any port 25566 proto tcp
sudo ufw deny 25566/tcp

Velocity's docs are honest about what this costs: the rules "must be kept in sync with new servers and proxies," it "may be difficult to use with multiple proxies," and it is "not viable on a shared host." Those are real limitations, and they are why the legacy section further down exists at all. Where a firewall does apply, the same docs call it "fool-proof if you do not give untrusted servers access to your servers."

For networks spanning machines across providers, SpigotMC's guide suggests a VPN as the alternative to per-host firewall rules, naming tinc. WireGuard is the obvious modern choice for the same job. The principle either way is that the backend port should exist on an interface the internet cannot route to, rather than on one you have asked a firewall to defend. If you want the broader version of that argument, zero-trust access for homelabbers is the same idea applied to everything else on the box.

And check that your firewall is actually in charge. If your backends run in Docker, this is where the floor gives way. Docker's own documentation does not hedge:

Publishing container ports is insecure by default. Meaning, when you publish a container's ports it becomes available not only to the Docker host, but to the outside world as well.

And on the firewall specifically:

Docker and ufw use firewall rules in ways that make them incompatible with each other. When you publish a container's ports using Docker, traffic to and from that container gets diverted before it goes through the ufw firewall settings. Docker routes container traffic in the nat table, which means that packets are diverted before it reaches the INPUT and OUTPUT chains that ufw uses. Packets are routed before the firewall rules can be applied, effectively ignoring your firewall configuration.

Read that last clause with the previous section in mind. You wrote a ufw deny, ufw status agrees the port is denied, and the packets never visit the chain the rule lives in. The firewall is not wrong. It is not being consulted.

Don't argue with it, sidestep it. Publish to a specific host address and the port never exists on a public interface in the first place:

ports:
  - "10.0.0.12:25566:25566"

One caveat with teeth, from the port-publishing documentation: in Docker releases older than 28.0.0, "hosts within the same L2 segment (for example, hosts connected to the same network switch) can reach ports published to localhost." So 127.0.0.1:25566:25566 on an older Docker is not the airtight bind it looks like — your rack neighbours are inside it. That is the same adversary as the IP-allowlist problem later in this article, arriving by a different door. Check docker version before you trust a loopback publish.

Then verify rather than assume, because the whole point of the preceding paragraph is that the firewall's own answer can be wrong:

ss -tlnp | grep 25566

10.0.0.12:25566 or 127.0.0.1:25566 is what you want. 0.0.0.0:25566 or :::25566 means anyone who can route to the machine can reach it. ss reads the kernel's socket table, so it is reporting what is actually bound rather than what something intended to bind — which is why it is the check and ufw status is not.

If You're Stuck on Legacy

Pre-1.13 clients, or a plugin that only exists for BungeeCord, rule out modern forwarding. Two options, in order of preference.

Firewall properly and use legacy. If you control the network layer, a correct firewall closes the same hole modern forwarding closes. It's the network doing the job instead of cryptography, and per Velocity's own ranking it is the stronger of the two controls, not the weaker.

Use BungeeGuard if you can't. On shared hosting where you don't control firewalling, BungeeGuard adds a shared token to the legacy format. Velocity supports it natively via player-info-forwarding-mode = "bungeeguard", and its docs place it above legacy and below modern.

It is worth understanding why it ranks below modern, because the reason is more interesting than "it's older." Velocity builds the BungeeGuard address by taking the ordinary legacy string and appending the secret as a game profile property:

  private static final String BUNGEE_GUARD_TOKEN_PROPERTY_NAME = "bungeeguard-token";
    // Append forwarding secret as a BungeeGuard token.
    final GameProfile.Property property = new GameProfile.Property(
        BUNGEE_GUARD_TOKEN_PROPERTY_NAME,
        new String(forwardingSecret, StandardCharsets.UTF_8),
        ""
    );

The secret travels on the wire, in the clear, on every single connection.

That is a categorically different security property from modern forwarding, where the secret never leaves either machine and only an HMAC computed with it crosses the gap. With BungeeGuard, the thing protecting your network is a bearer token being transmitted repeatedly over a connection that, at this point in the login sequence, is not encrypted. Anyone positioned to observe traffic between proxy and backend — a compromised host in the path, a misconfigured shared network segment, the kind of environment that drove you to BungeeGuard in the first place — learns the token and can then authenticate as the proxy.

It is still vastly better than legacy, because legacy requires nothing at all. Use it when you have no firewall. Just do not file it next to modern forwarding in your head, and rotate the token if you ever suspect the path was watched.

What you should not reach for is an IP allowlist plugin. SpigotMC recommends BungeeGuard over IPWhitelist specifically because "IPWhitelist is exploitable if the attacker purchases a BungeeCord server on the same GSP as you." Velocity's docs make the same point about their own suggestion — an IP whitelist is "vulnerable to attack if the attacker can get a server on the same node as your proxy is on."

That is the whole problem with the approach. On shared hosting, "only allow connections from this IP" means "allow connections from anyone renting a box in the same facility." An IP allowlist is not an authentication mechanism when your neighbours share your address range, and the cost of becoming your neighbour is a month of hosting.

Velocity does still list it as a last line of defence that "may be your only solution" on a shared host. Read that as an argument for not being on a shared host, more than an argument for the plugin.

The Channel That Lets a Backend Drive the Proxy

Forwarding is identity flowing from proxy to backend. There is a channel going the other way, it is on by default, and it is worth knowing what it can do.

bungee-plugin-message-channel = true

That enables Velocity's BungeeCord plugin-messaging compatibility. A backend sends a plugin message on the bungeecord:main channel — or the pre-1.13 BungeeCord channel, which Velocity still answers — with a subchannel name, and the proxy acts on it. From the dispatch switch in BungeeCordMessageResponder.java:

      case "ForwardToPlayer" -> this.processForwardToPlayer(in);
      case "Forward" -> this.processForwardToServer(in);
      case "Connect" -> this.processConnect(in);
      case "ConnectOther" -> this.processConnectOther(in);
      case "IP" -> this.processIp(in);
      case "PlayerCount" -> this.processPlayerCount(in);
      case "PlayerList" -> this.processPlayerList(in);
      case "GetServers" -> this.processGetServers();
      case "Message" -> this.processMessage(in);
      case "MessageRaw" -> this.processMessageRaw(in);
      case "GetServer" -> this.processGetServer();
      case "UUID" -> this.processUuid();
      case "UUIDOther" -> this.processUuidOther(in);
      case "IPOther" -> this.processIpOther(in);
      case "ServerIP" -> this.processServerIp(in);
      case "KickPlayer" -> this.processKick(in);

Read that as a capability list rather than a protocol listing. ConnectOther moves an arbitrary named player to an arbitrary server. KickPlayer disconnects anyone. IPOther returns another player's address and port. ServerIP hands back a backend's address. Forward relays an arbitrary payload to another backend, or to all of them.

So any plugin on any backend can enumerate your network, read any online player's IP, kick anyone, and shove players between servers — without a Velocity plugin, without proxy permissions, without touching the proxy's filesystem. This is the mechanism behind the trust claim earlier in this article, and it is one more reason the plugin side and the proxy side are one security boundary, not two.

Velocity does block the obvious abuse. In ClientPlaySessionHandler, a plugin message arriving from a player on that channel is swallowed rather than relayed:

      } else if (BungeeCordMessageResponder.isBungeeCordMessage(packet)) {
        return true;
      }

A client cannot reach the responder directly, which is the right call and not something to take for granted. The exposure is backend-to-proxy, by design, for compatibility with plugins that expect BungeeCord's API.

If nothing on your network uses it, set it to false. If something does, you now know what that something is allowed to ask for.

The Rate Limits Nobody Has Turned On

login-ratelimit defaults to 3000 — three seconds minimum between connections from the same address, disabled by setting 0. That is the only limit most networks ever hear about, and it only governs connection attempts, not what an established connection sends.

There is more in the current source than in the documentation. Velocity's shipped default-velocity.toml at config-version = "2.8" carries a section the configuration docs do not currently describe — keys and values exactly as shipped, with the file's explanatory comments stripped here and quoted below instead:

[packet-limiter]
interval = 7
packets-per-second = -1
bytes-per-second = -1
decompressed-bytes-per-second = 5242880

The shipped comments explain the shape: interval is "the moving time window in seconds used to calculate average rates," which "tolerates short bursts while still enforcing the configured limits over time." The three limits are average packets per second, average compressed on-wire bytes per second, and average decompressed bytes per second, with -1 disabling a check.

Two things stand out. First, two of the three ship disabled. packets-per-second and bytes-per-second are both -1, so unless you have set them, your proxy is not rate-limiting packet volume at all. Second, the one that is enabled is the interesting one: the comment says decompressed-bytes-per-second "protects against compression bomb attacks where small packets expand to excessive sizes after decompression." A 5 MB/s decompressed ceiling is on by default, which means the Velocity team considered decompression amplification the threat worth defending unconditionally.

Fair warning on provenance: this is read from the default config on Velocity's current development branch, and it is not in the published configuration reference. Open your own velocity.toml and look. If there is no [packet-limiter] section, your build predates it and these knobs do not exist for you — do not paste the block in and assume it took effect. If it is there, the two -1 values are a decision you have not made yet.

One pre-authentication limit is not configurable and is worth knowing about, because it closes a hole you would otherwise have to think about yourself. A client that connects and simply never finishes its handshake can keep sending plugin messages, and the proxy has to hold them. The comment in ClientPlaySessionHandler names the problem exactly — "a client that never completes its handshake phase can spam plugin messages (each up to ~32 KiB serverbound) and grow the queue without bound" — and the caps are hardcoded defaults rather than config:

  private static final long MAX_QUEUED_LOGIN_PLUGIN_MESSAGE_BYTES =
      Long.getLong("velocity.max-queued-login-plugin-message-bytes", 4L * 1024 * 1024);
  private static final int MAX_QUEUED_LOGIN_PLUGIN_MESSAGES =
      Integer.getInteger("velocity.max-queued-login-plugin-messages", 1024);

4 MiB or 1,024 messages per connection, then the player is disconnected and the proxy logs it. Both are overridable as JVM system properties rather than config entries, which is the sort of thing you only discover by reading the source. Multiply 4 MiB by the number of connections an attacker can open and you have the actual memory ceiling — which is an argument for login-ratelimit staying where it is.

A Few Other Things Worth Closing

Keep the proxy in online mode. online-mode = true in velocity.toml is what makes the whole chain work — the proxy is the only thing authenticating, so if it stops, nothing is. Offline-mode networks exist for legitimate reasons, but they need a separate auth plugin and a much more careful design.

Set kick-existing-players deliberately. The shipped comment is explicit — "If enabled (default is false) and the proxy is in online mode, Velocity will kick any existing player who is online if a duplicate connection attempt is made." If someone can log in as a player who is already on, the behaviour you want is usually to kick, not to silently allow a second session.

Leave ping-passthrough alone. The default is "DISABLED", which is the right value — your velocity.toml and server-icon.png answer the ping and nothing from the backend is exposed. The risk here is upgrading it: setting "description" or "all" for a nicer server list puts your backend's own ping response, version string and mod list into whatever scanner asks for it. This is one to not improve.

Know which options are theatre. prevent-client-proxy-connections kicks players whose ISP or AS differs between the proxy and Mojang's auth server. Velocity's own documentation calls it "a weak form of protection" in the same breath as describing it, and it is false by default. It breaks legitimate VPN users and stops a determined attacker for about as long as it takes to turn the VPN off. Contrast it with force-key-authentication, described only as "Should the proxy enforce the new public key security standard?" and on by default. That one is a real protocol-level check rather than a geolocation guess, and there is no good reason to turn it off.

Consider turning off IP logging. enable-player-address-logging defaults to true. Setting it false replaces addresses with <ip address withheld> in the logs. Player IPs are the single most sensitive thing your proxy handles routinely, and a log file is the easiest place to leak them from — a pasted stack trace, a support upload, a backup on someone else's storage.

Don't confuse proxies.proxy-protocol with any of this. Paper's docs are explicit that the PROXY-protocol toggle is "completely unrelated to Velocity or BungeeCord" — it's for HAProxy-style TCP load balancers. Enabling it because the word "proxy" appeared in a config file you were securing will break every connection to the server.

Firewall RCON, or turn it off. enable-rcon=false unless you genuinely use it, and never on a public interface.

What This Doesn't Cover

Volumetric denial of service. The packet limiter above is application-layer, and it is the last useful thing config can do for you here. A correctly firewalled backend with modern forwarding is still a machine someone can saturate the uplink of, and that is a hosting and upstream-filtering problem rather than a velocity.toml one.

Offline-mode networks on purpose. Cracked networks have a genuinely different threat model — authentication has to be rebuilt in a plugin — and advice written for an online-mode chain does not transfer to them cleanly.

Velocity's own plugins. Everything above treats the proxy as trustworthy. A plugin running on the proxy sits above all of it — it sees every connection, holds the secret, and needs no forwarding trick to act on any player. Proxy plugins deserve a shorter install list and a higher bar than backend ones, and that calculus is its own article.

Client-side exploits. Nothing here protects players from a malicious server, or a server from protocol-level client exploits in the game itself — the Bedrock RCE is a reminder that the wire format is its own attack surface.

The Check

Five minutes. The first five on each backend, the last two on the proxy and from outside it.

  1. ss -tlnp | grep 2556 — is it on a private address?
  2. grep online-mode server.properties — false is expected behind a proxy, and means the firewall is load-bearing.
  3. grep -A3 velocity config/paper-global.yml — modern forwarding on, secret present, online-mode matching the proxy?
  4. grep -A2 'settings:' spigot.yml — is bungeecord still true from the old setup?
  5. grep -i 'Disabling velocity' logs/latest.log — did forwarding quietly switch itself off at boot?
  6. grep -E 'bungee-plugin-message-channel|ping-passthrough' velocity.toml — is the compatibility channel on, and does anything actually need it?
  7. From a machine outside your network, try connecting directly to the backend's public IP on its port. If you get a connection, so can anyone.

That last one is the only test that actually proves anything. The rest is reading config. Connecting from outside is measuring.

The pattern underneath all of it is the same one that shows up in every self-hosted service: a default that is safe alone becomes unsafe in a composition. online-mode=false is correct for a proxied backend and catastrophic for an exposed one, and nothing in the software knows which situation it's in. That's your job.

$ tail -f /forums

Discussion

Comments live on the community forums — sign in there to reply.