server proxy does not work on hetzner vps
so I have multiple servers on the vps and I want to connect a proxy with waterfall.
I can join all the servers and the firewall is allowing all ports.
I get this error. Here is my firewall.
50 Replies
Thanks for asking your question!
Once you have finished, please close your thread.
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close
!close
!solved
Requested by stagprince#0
are u using pterodactyl
yes
!logs
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file.
Where can I find the server log?
Logs are stored in
<server_directory>/logs/
. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log
file. Some providers have a separate page for logs and may hide the "logs" folder.
On Aternos:
• Go to https://aternos.org/log/.
On Minehut and server.pro:
• Go to the "files" tab in the left menu.
• Navigate to the root directory of your server.
• From there navigate to /logs/latest.log
.
What should I do with the log?
• First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing.
• If you got the latest.log
file or created a .txt
file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/.
• If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)Admincraft Canned Responses
are ur servers and proxy on the same vps?
yes
did u follow pterodactyl firewall setup?
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.
I used an install script
-.-
should still work but i would recommend u learn how to setup pterodactyl without it
is that the reason?
I have done it without a script
but I did it multiple times so I just used a script
so is this just a skill issue kinda thing? like I messed something up and its done?
no look at the guide i just sent u
its not apart of the normal pterodactyl setup
or script
its a seperate thing u gotta do
oh
thansk
thanks
just this?
replace <LOCALHOST_PORT> with all ur ports
ok
ufw allow in on pterodactyl0 to 172.18.0.1 port <25565-25580> proto tcp is this fine
or does it not allow a range?
ufw allow in on pterodactyl0 to 172.18.0.1 port 25565-25580 proto tcp
[17:28:14 WARN]: Error occurred processing connection for Stagprince ConnectTimeoutException : connection timed out: /95.217.43.251:25568
[17:28:28 WARN]: Error occurred processing connection for Stagprince ConnectTimeoutException : connection timed out: /95.217.43.251:25568
[17:28:28 INFO]: [Stagprince] disconnected with: Could not connect to a default or fallback server. Incorrectly configured address/port/firewall?
[17:28:28 INFO]: [/77.21.193.104:56165|Stagprince] -> UpstreamBridge has disconnected
I still get these errors
read the part above
of what i sent
send waterfall config file
u need to use docker internal ip'
This is not waterfall but I installed bungeecord. this is the config and its having the same issue
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
config21.yml
Requested by stagprince#0
what?
could it be a firewall issue, I believe all ports and Ips are allowed here
172.18.0.1
set our waterfall config to use that ip on each backend
ok
you mean here
no
set it as the ip on the backend part of the config
so like
survival
172.18.0.1:port
etc
ok
like this
yes
ok
18:29:14 [INFO] [Stagprince] disconnected with: Could not connect to a default or fallback server. Incorrectly configured address/port/firewall? io.netty.channel.AbstractChannel$AnnotatedConnectException
still the same issue
ok next go into pterodactyl nodes
add a allocation
for 172.18.0.1
and the port of lobby
give that allocation to lobby and remove its old allocation
ok
wait
that actually worked
why tho?
and thanks a lot man
ive been having this problem for quite some time
@ProGamingDK Thanks bro
because pterodactyl uses docker with isolated network
thats why u need to first let them talk to eachother, then make the backends bind to the internal ip
oh, I used waterfall on a different panel before thatswhy
yes
but thank you a lot, you saved me a big headache
this only affects if ur hosting proxy and backends on the same pterodactyl node
ok! thank you for this info
do I leave it for the proxy?
yes
thats why i said to only edit backends
also with this its even more secure
as it only lets internal connections connect to backends
I reinstalled bungeecord using waterfall. and I am getting the same error. does this seem right?
Please use a paste service instead!
Paste services are more mobile friendly and easier to read than just posting a log file
config22.yml
Requested by stagprince#0
I changed all the ips to 172.18.0.1
try changing 127.18.0.1 to machine ip
how
no..
u typed 127.18.0.1
in config'
its supposed to be 172.18.0.1
its just a mistype lol
oh
thanks
ok yes now it has been resolved, thank you all.