> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Enable IP Forwarding in Bungeecord Config

Need to enable IP forwarding connection in your Bungeecord setup? It’s a crucial step when setting up a secure and properly linked Minecraft server network. IP forwarding allows your backend servers to correctly recognize players’ IP addresses and UUIDs, ensuring permissions and bans work across all servers.

For the server to correctly identify the player's IP address, IP forwarding must be enabled. This guide will show you how to enable IP forwarding in Bungeecord config YML file, which you will have to set bungeecord to true.

Don't already host with us? 10,000+ server owners trust Sparked Host for lag-free Minecraft worlds. [Claim your server savings](https://sparkedhost.com/minecraft-server-hosting?utm_source=referral&utm_medium=knowledge_base&utm_campaign=kb_redirect&utm_content=intro) to get higher performance at less $ per month.

## Enabling IP Forwarding on Bungeecord

To setup IP forwarding on your Bungeecord server:

* Log in to your [Apollo Panel](https://control.sparkedhost.us/) and access your server
    
* Open the **Files** tab
    
* Navigate to the config.yml file in the root directory and find the line `ip_forward:` and change the value from `false` to `true`, as displayed in the example `ip_forward: true`
    
    ![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/captura-de-pantalla-2024-08-16_1tpgpc6.png)
* In your Spigot servers, locate the spigot.yml file in the root directory and ensure that `bungeecord: true`
    
    ![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/captura-de-pantalla-2024-08-16_w4dv1n.png)
* Click on "Save Content" to save the changes
    
    ![](https://images.surferseo.art/26a1b261-c94f-4625-9fcf-bf064fb6585e.png)
* 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.

## Still have some questions about enabling IP forwarding on your Bungeecord server?

If you need any further help, you can open a ticket [here](https://billing.sparkedhost.com/submitticket.php)

By: Ali A. 