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.
Bmoney
BmoneyOP2y ago
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?
Bmoney
BmoneyOP2y ago
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?
Bmoney
BmoneyOP2y ago
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.
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
ye to join?
ProGamingDk
ProGamingDk2y ago
and ur host needs to enable it through the firewall usually* no in the config
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
I just put that ip
No description
ProGamingDk
ProGamingDk2y ago
not hub yeah use 172.18.0.1
Bmoney
BmoneyOP2y ago
Thats hub For all of them?
ProGamingDk
ProGamingDk2y ago
except lifesteal yes
Bmoney
BmoneyOP2y ago
Leave the port or no?
ProGamingDk
ProGamingDk2y ago
leave port but proxy should get 25565 port not hub having hub on 25565 is pointless
Bmoney
BmoneyOP2y ago
K let me change that in admin settings
ProGamingDk
ProGamingDk2y ago
ah if ur hosting it urself here
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
Oh no let me do that
ProGamingDk
ProGamingDk2y ago
after changing port on hub and proxy
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
hubs ip is 216.173.119.163:25567
ProGamingDk
ProGamingDk2y ago
on panel?
Bmoney
BmoneyOP2y ago
Yeah
ProGamingDk
ProGamingDk2y ago
you didnt follow what i just sent u then
Bmoney
BmoneyOP2y ago
No description
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)
Bmoney
BmoneyOP2y ago
Oh
ProGamingDk
ProGamingDk2y ago
follow the guide
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
Thats the hub
Bmoney
BmoneyOP2y ago
No description
ProGamingDk
ProGamingDk2y ago
yes..
Bmoney
BmoneyOP2y ago
i put the primary
ProGamingDk
ProGamingDk2y ago
u need to add that the port again wrong primary is a port u havent added here ^^
Bmoney
BmoneyOP2y ago
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*
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
wdym by that?
ProGamingDk
ProGamingDk2y ago
read the guide
Bmoney
BmoneyOP2y ago
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...
Bmoney
BmoneyOP2y ago
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.
Bmoney
BmoneyOP2y ago
so i need to do localhost/127.0.0.1 to join?
ProGamingDk
ProGamingDk2y ago
no -.-
Bmoney
BmoneyOP2y ago
-_-
ProGamingDk
ProGamingDk2y ago
i now know why i normally charge for this :holy its a pain to explain: kek
Bmoney
BmoneyOP2y ago
:/
ProGamingDk
ProGamingDk2y ago
if u read the entire guide over u can figure it out
Bmoney
BmoneyOP2y ago
my brain doesnt work that way
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
ik
Bmoney
BmoneyOP2y ago
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 -.-
Bmoney
BmoneyOP2y ago
:\
ProGamingDk
ProGamingDk2y ago
and u dont need to touch dns at all
Bmoney
BmoneyOP2y ago
okay my brain hurts I THINK I FOUND IT
Bmoney
BmoneyOP2y ago
Do i need to be here?
No description
ProGamingDk
ProGamingDk2y ago
yes but uh the ip your typing is wrong again
Bmoney
BmoneyOP2y ago
-_-
ProGamingDk
ProGamingDk2y ago
what did i just tell u
Bmoney
BmoneyOP2y ago
172.18.0.1
ProGamingDk
ProGamingDk2y ago
yes.
Bmoney
BmoneyOP2y ago
No description
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
I- i- just changed proxy to 172.18.0.1:25565 Is that fine? @ProGamingDK
ProGamingDk
ProGamingDk2y ago
no that wont work
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
So keep proxy and lifesteal the same and change survival and hub to the new ip and port
ProGamingDk
ProGamingDk2y ago
yes
Bmoney
BmoneyOP2y ago
k
ProGamingDk
ProGamingDk2y ago
and use 172.18.0.1 in the bungee config please use waterfall or better yet velocity tho
Bmoney
BmoneyOP2y ago
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 -.-
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
So just install waterfall to the main container?
ProGamingDk
ProGamingDk2y ago
the proxy sure
Bmoney
BmoneyOP2y ago
Then restart?
ProGamingDk
ProGamingDk2y ago
yes
Bmoney
BmoneyOP2y ago
Done So Hub and Lifesteal work but Survival is still having the same error @ProGamingDK Hello?
ProGamingDk
ProGamingDk2y ago
well show me everything
Bmoney
BmoneyOP2y ago
Survival Console:
No description
Bmoney
BmoneyOP2y ago
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
Bmoney
BmoneyOP2y ago
No description
ProGamingDk
ProGamingDk2y ago
ya didnt add it...
Bmoney
BmoneyOP2y ago
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?