IP Forwarding in BungeeCord

By default, servers connected under BungeeCord will not display the IP of the player, but rather the IP of the BungeeCord server, since BungeeCord acts as a proxy and sits in between the player and the server they are connected to.

For the server to correctly identify the player's IP address, IP forwarding needs to be enabled.

Steps

  1. In your BungeeCord server, locate the config.yml file on the root directory and ensure that ip_forward: true

    BungeeCord config.yml ip_forward set to true

  2. In your Spigot servers, locate the spigot.yml file on the root directory and ensure that bungeecord: true

    In spigot.yml file bungeecord is set to true

  3. Restart the Spigot servers and BungeeCord proxy to ensure that IP forwarding is enabled.


If you see the error  If you wish to use IP forwarding, please enable it in your BungeeCord config as well! , this would suggest you are connecting directly to the Spigot server instead of the BungeeCord server. You should always connect to your BungeeCord server IP. If you wish to connect to a server directly within your network, you can use the forced_hosts configuration option in your BungeeCord config.yml file.


Related Articles: 

If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • bungeecord, ip, spigot, proxy, ip forwarding
  • 11 Users Found This Useful
Was this answer helpful?

Related Articles

BungeeCord won't start

There are several reasons why a BungeeCord server may not start up. Remember that the first thing...

Introduction to BungeeCord: How BungeeCord Works

We have a video explanation of BungeeCord here: This article is the only guide you will need...

Automatically Setup a BungeeCord Network with Shockbyte

We have a video tutorial on installing an entire BungeeCord network in under 60 seconds:   A...