How to fix "If you wish to use IP forwarding, please enable it in your BungeeCord config as well!"

I was setting up Bungeecord and i tried to join the main server and it said "If you wish to use IP forwarding, please enable it in your BungeeCord config as well!" but it is enabled in the bungeecord config
120 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by bmoneyboy#0
Discount Milk
Discount Milk2y ago
You connect to the bungeecord server. Not the back end.
[Back for now] Bmoney
Ik but it put me at the secondary server and when i did /server hub it gave me this error
No description
Discount Milk
Discount Milk2y ago
Are they hosted on the same machine?
[Back for now] Bmoney
No 3 of them are on the same host but 1 of them arent
Discount Milk
Discount Milk2y ago
Is the hub server the one on the other machine? Did you put a / in the hub ip section of the bungeecord config?
[Back for now] Bmoney
Hub, Survival, and bungee is on one machine and Lifesteal is on the other (im in lifesteal rn)
Discount Milk
Discount Milk2y ago
Okay so I should clarify. I wanted to know if your bungee and hub were on the same machine Don't use your public IP for the IP of your hub/survival in your bungee config.
[Back for now] Bmoney
Yes No its on the ip of my domain im pretty sure idk tho its not on my ip tho
ProGamingDk
ProGamingDk2y ago
is ur host on pterodactyl? then use 172.18.0.1
[Back for now] Bmoney
ye to join?
ProGamingDk
ProGamingDk2y ago
and ur host needs to enable it through the firewall usually* no in the config
[Back for now] Bmoney
this is my config
enforce_secure_profile: false
server_connect_timeout: 5000
listeners:
- bind_local_address: true
force_default_server: true
forced_hosts:
pvp.md-5.net: pvp
host: 0.0.0.0:25569
max_players: 1000
motd: '&1Another Bungee server'
ping_passthrough: false
priorities:
- hub
- lifesteal
- survival
proxy_protocol: false
query_enabled: false
query_port: 25569
tab_list: GLOBAL_PING
tab_size: 60
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
- bungeecord.command.kick
default:
- bungeecord.command.server
- serverswitcher.switch
- bungeecord.command.list
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
player_limit: -1
ip_forward: true
groups:
BmoneyboyYT:
- admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: 497ce0ca-35aa-4940-907c-da8554c03f18
online_mode: true
forge_support: false
disabled_commands:
- disabledcommandhere
servers:
hub:
address: 216.173.119.163:25565
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
lifesteal:
address: 184.190.197.162:25629
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
survival:
address: 216.173.119.163:25566
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
enforce_secure_profile: false
server_connect_timeout: 5000
listeners:
- bind_local_address: true
force_default_server: true
forced_hosts:
pvp.md-5.net: pvp
host: 0.0.0.0:25569
max_players: 1000
motd: '&1Another Bungee server'
ping_passthrough: false
priorities:
- hub
- lifesteal
- survival
proxy_protocol: false
query_enabled: false
query_port: 25569
tab_list: GLOBAL_PING
tab_size: 60
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
- bungeecord.command.kick
default:
- bungeecord.command.server
- serverswitcher.switch
- bungeecord.command.list
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
player_limit: -1
ip_forward: true
groups:
BmoneyboyYT:
- admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: 497ce0ca-35aa-4940-907c-da8554c03f18
online_mode: true
forge_support: false
disabled_commands:
- disabledcommandhere
servers:
hub:
address: 216.173.119.163:25565
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
lifesteal:
address: 184.190.197.162:25629
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
survival:
address: 216.173.119.163:25566
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
ProGamingDk
ProGamingDk2y ago
yeah ur not supposed to use public ip for that only for the lifesteal also proxy should have 25565
[Back for now] Bmoney
I just put that ip
No description
ProGamingDk
ProGamingDk2y ago
not hub yeah use 172.18.0.1
[Back for now] Bmoney
Thats hub For all of them?
ProGamingDk
ProGamingDk2y ago
except lifesteal yes
[Back for now] Bmoney
Leave the port or no?
ProGamingDk
ProGamingDk2y ago
leave port but proxy should get 25565 port not hub having hub on 25565 is pointless
[Back for now] Bmoney
K let me change that in admin settings
ProGamingDk
ProGamingDk2y ago
ah if ur hosting it urself here
[Back for now] Bmoney
Yep
ProGamingDk
ProGamingDk2y ago
Minecraft | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
ProGamingDk
ProGamingDk2y ago
please follow this
[Back for now] Bmoney
Lifesteal is my friends host K swaped swapped* it said
Error Event [bb117d26-274a-4212-bd4d-8f36299d8987]: environment/docker: failed to start container: Error response from daemon: driver failed programming external connectivity on endpoint be013351-8f28-450c-9e2c-96ac4091b206 (21b687572b6c9f6782b0173e0c4c22c4ac96cfb5c1d1e24cd6982016b3714a0a): Bind for 216.173.119.163:25565 failed: port is already allocated
Error Event [bb117d26-274a-4212-bd4d-8f36299d8987]: environment/docker: failed to start container: Error response from daemon: driver failed programming external connectivity on endpoint be013351-8f28-450c-9e2c-96ac4091b206 (21b687572b6c9f6782b0173e0c4c22c4ac96cfb5c1d1e24cd6982016b3714a0a): Bind for 216.173.119.163:25565 failed: port is already allocated
ProGamingDk
ProGamingDk2y ago
well did u restart every server
[Back for now] Bmoney
Oh no let me do that
ProGamingDk
ProGamingDk2y ago
after changing port on hub and proxy
[Back for now] Bmoney
K, every server but lifesteal bc it has a ton of plugins is restarted Its giving me the same error
ProGamingDk
ProGamingDk2y ago
show config did u apply the firewall rules show me what pterodactyl says ur hub's ip is
[Back for now] Bmoney
hubs ip is 216.173.119.163:25567
ProGamingDk
ProGamingDk2y ago
on panel?
[Back for now] Bmoney
Yeah
ProGamingDk
ProGamingDk2y ago
you didnt follow what i just sent u then
ProGamingDk
ProGamingDk2y ago
yeah u didnt follow the guide
ProGamingDk
ProGamingDk2y ago
this is what it shows if correct
No description
ProGamingDk
ProGamingDk2y ago
(with different port)
ProGamingDk
ProGamingDk2y ago
follow the guide
[Back for now] Bmoney
do i put ufw allow in on pterodactyl0 to 172.18.0.1 port <LOCALHOST_PORT> proto tcp into my console? or command prompt
ProGamingDk
ProGamingDk2y ago
u change <localhost_port> to the differnent ports of your servers through ssh
[Back for now] Bmoney
k so ill do
ufw allow in on pterodactyl0 to 172.18.0.1 port 25571 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25571 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 proto tcp
in command prompt (logged into the ssh)
ProGamingDk
ProGamingDk2y ago
No description
ProGamingDk
ProGamingDk2y ago
ur missing 25567
[Back for now] Bmoney
Thats the hub
ProGamingDk
ProGamingDk2y ago
yes..
[Back for now] Bmoney
i put the primary
ProGamingDk
ProGamingDk2y ago
u need to add that the port again wrong primary is a port u havent added here ^^
[Back for now] Bmoney
so i need to do
ufw allow in on pterodactyl0 to 172.18.0.1 port 25571 25567 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 25642 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 25568 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25571 25567 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 25642 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 25568 proto tcp
ProGamingDk
ProGamingDk2y ago
what no your hubs port is 2556 25567*
[Back for now] Bmoney
Oh so i need to use the port that is displayed on the address?
ProGamingDk
ProGamingDk2y ago
yes but u also need to make the allocations 172.18.0.1 as written in the guide
[Back for now] Bmoney
so i need to do
ufw allow in on pterodactyl0 to 172.18.0.1 port 25567 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25567 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 proto tcp
ProGamingDk
ProGamingDk2y ago
yes and 25565 u want ur proxy to be 25565
[Back for now] Bmoney
k
ufw allow in on pterodactyl0 to 172.18.0.1 port 25567 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25565 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25567 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25629 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25566 proto tcp
ufw allow in on pterodactyl0 to 172.18.0.1 port 25565 proto tcp
In command prompt logged into ssh right?
ProGamingDk
ProGamingDk2y ago
yes
[Back for now] Bmoney
K i did all of them and it said rule added
ProGamingDk
ProGamingDk2y ago
now put all backends port allocations to 172.18.0.1
[Back for now] Bmoney
wdym by that?
ProGamingDk
ProGamingDk2y ago
read the guide
[Back for now] Bmoney
so do
firewall-cmd --permanent --zone=public --add-source=172.18.0.1
firewall-cmd --permanent --zone=public --add-source=172.18.0.1
?
ProGamingDk
ProGamingDk2y ago
no...
[Back for now] Bmoney
oh wait thats for CentOS
ProGamingDk
ProGamingDk2y ago
correct
ProGamingDk
ProGamingDk2y ago
Minecraft | Pterodactyl
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
[Back for now] Bmoney
so i need to do localhost/127.0.0.1 to join?
ProGamingDk
ProGamingDk2y ago
no -.-
[Back for now] Bmoney
-_-
ProGamingDk
ProGamingDk2y ago
i now know why i normally charge for this :holy its a pain to explain: kek
ProGamingDk
ProGamingDk2y ago
if u read the entire guide over u can figure it out
[Back for now] Bmoney
my brain doesnt work that way
[Back for now] Bmoney
WAIT SO do i need to swap the ip in my dns for node.nurlace.xyz (my node)
ProGamingDk
ProGamingDk2y ago
wha i even showed u how its supposed to look when done correctly on hub
[Back for now] Bmoney
im saying do i need to swap this to 127.0.0.1
No description
ProGamingDk
ProGamingDk2y ago
no 127.0.0.1 isnt gonna be used AT ALL -.-
ProGamingDk
ProGamingDk2y ago
and u dont need to touch dns at all
[Back for now] Bmoney
okay my brain hurts I THINK I FOUND IT
[Back for now] Bmoney
Do i need to be here?
No description
ProGamingDk
ProGamingDk2y ago
yes but uh the ip your typing is wrong again
[Back for now] Bmoney
-_-
ProGamingDk
ProGamingDk2y ago
what did i just tell u
[Back for now] Bmoney
172.18.0.1
ProGamingDk
ProGamingDk2y ago
yes.
[Back for now] Bmoney
Now i need to spawn the ports and stuff over?
ProGamingDk
ProGamingDk2y ago
remove all servers main port and give them the new 172.18.0.1 (except proxy)** and lifesteal
[Back for now] Bmoney
I- i- just changed proxy to 172.18.0.1:25565 Is that fine? @ProGamingDK
ProGamingDk
ProGamingDk2y ago
no that wont work
[Back for now] Bmoney
I added them back
Nyuu
Nyuu2y ago
You can probably just use the server ID + port to make a private connection more easily
ProGamingDk
ProGamingDk2y ago
meh 172.18.0.1 works fine aswell especially as he is "self" hosting the panel and node
[Back for now] Bmoney
So keep proxy and lifesteal the same and change survival and hub to the new ip and port
ProGamingDk
ProGamingDk2y ago
yes
ProGamingDk
ProGamingDk2y ago
and use 172.18.0.1 in the bungee config please use waterfall or better yet velocity tho
[Back for now] Bmoney
It isnt a option on my admin panel
ProGamingDk
ProGamingDk2y ago
manually install it its literally just adding a jar im guessing u used install script -.-
[Back for now] Bmoney
For panel yes Want to join #Voice • General so i can screenshare? @ProGamingDK
ProGamingDk
ProGamingDk2y ago
aint getting paid so preferably not there isnt anything left to do
[Back for now] Bmoney
So just install waterfall to the main container?
ProGamingDk
ProGamingDk2y ago
the proxy sure
[Back for now] Bmoney
Then restart?
ProGamingDk
ProGamingDk2y ago
yes
[Back for now] Bmoney
Done So Hub and Lifesteal work but Survival is still having the same error @ProGamingDK Hello?
ProGamingDk
ProGamingDk2y ago
well show me everything
[Back for now] Bmoney
Survival Console:
No description
[Back for now] Bmoney
Proxy Config:
enforce_secure_profile: false
server_connect_timeout: 5000
listeners:
- bind_local_address: true
force_default_server: true
forced_hosts:
pvp.md-5.net: pvp
host: 0.0.0.0:25565
max_players: 1000
motd: '&1Another Bungee server'
ping_passthrough: false
priorities:
- hub
- lifesteal
- survival
proxy_protocol: false
query_enabled: false
query_port: 25565
tab_list: GLOBAL_PING
tab_size: 60
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
- bungeecord.command.kick
default:
- bungeecord.command.server
- serverswitcher.switch
- bungeecord.command.list
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
player_limit: -1
ip_forward: true
groups:
BmoneyboyYT:
- admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: 497ce0ca-35aa-4940-907c-da8554c03f18
online_mode: true
forge_support: false
disabled_commands:
- disabledcommandhere
servers:
hub:
address: 172.18.0.1:25566
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
lifesteal:
address: 184.190.197.162:25629
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
survival:
address: 172.18.0.1:25568
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
enforce_secure_profile: false
server_connect_timeout: 5000
listeners:
- bind_local_address: true
force_default_server: true
forced_hosts:
pvp.md-5.net: pvp
host: 0.0.0.0:25565
max_players: 1000
motd: '&1Another Bungee server'
ping_passthrough: false
priorities:
- hub
- lifesteal
- survival
proxy_protocol: false
query_enabled: false
query_port: 25565
tab_list: GLOBAL_PING
tab_size: 60
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
- bungeecord.command.kick
default:
- bungeecord.command.server
- serverswitcher.switch
- bungeecord.command.list
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
player_limit: -1
ip_forward: true
groups:
BmoneyboyYT:
- admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: 497ce0ca-35aa-4940-907c-da8554c03f18
online_mode: true
forge_support: false
disabled_commands:
- disabledcommandhere
servers:
hub:
address: 172.18.0.1:25566
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
lifesteal:
address: 184.190.197.162:25629
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
survival:
address: 172.18.0.1:25568
motd: '&1Just another BungeeCord - Forced Host'
restricted: false
ProGamingDk
ProGamingDk2y ago
show error? i already see the problem
ProGamingDk
ProGamingDk2y ago
ya didnt add it...
[Back for now] Bmoney
oh i didnt add 25568 I added it just* works now! !close
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by bmoneyboy#0

Did you find this page helpful?