Port Forwarding Help
I recently updated and added more port forwards to make a Waterfall/Velocity server, but when I updated them even when ran without the proxy stuff enabled for one server the port forwards no longer work. Any ideas as to help would be greatly appreciated
32 Replies
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 theinventordoesstuff#0
You don't port forward your backend servers, only your velocity server.
I've always had to port forward to the backend servers and the velocity...
you shouldnt have to, since the proxy will move you between the backend servers
backend servers shouldnt be accessable
mmm
I'll have to check some things on my firewall then as when I've hosted both on oracle and a dedicated server I've had to port forward all front and backend server ports
thats different
otherwise would get errors when trying to join or move between servers
if the servers are all under one machine then you dont have to allow access to backend servers
they are all on one
and I still have had to port forward to allow it to work
Whats port forward? @lavaking46
port forwarding is the process of associating a connection on a port to your public ip to a port on an internal IP address
Yeah.. you don't want to port forward your backend servers to a public ip. Because, as the word says, a public IP can be access by anyone on the internet.
yes I'm aware
When I previously tested to see whether or not I could join my backend servers without port forwarding them it wouldn't work. having just tested it on my current network it works
but it did not work on an oracle vps
You can't join your backend server via your proxy without opening them to the internet?
When I was using an oracle vps that was the case
hu
i thought i had tested when i moved to a dedi whether or not that was still the case but clearly I didn't as I just removed port forwarding for all but the proxy and it works fine
I'm not sure why oracle does that..
Thats kind of a security risk, not only for mc servers, but every application on the world that runs microservices.
For instance, opening your database to the world just for your website to access it, its kinda risky
for some things like that(for ptero) i didnt need to open the port to the internet for it to be usable by ptero but for everything i did with minecraft if i didn't open the port of the server I couldn't join it with or without proxy
Oh, if you are using ptero, the localhost ip won't work as expected.
what do you mean
On ptero,
127.0.0.1
refers to the container itself, meaning that two servers on different containers won't talk to each other.
To setup bungee, you need to bind your backend servers to 127.0.0.1
, but use the 172.18.0.1
IP on your bungeecord config.I use velocity
Pretty much the same
is the setup still the same
So how do I bind the servers to 127.0.0.1 via ptero
oh and I don't use localhost anyway
I use the internal ip of the server
because especially on oracle that was required
Yeah, I don't know if oracle does some weird things in their network
You just make an allocation, with any port you want, with the 127.0.0.1 IP.
ok
Then on your proxy you just use 172.18.0.1 with the port and thats it.
ok
To the OP, if you are running your servers on the same machine, just use 127.0.0.1 everywhere. And only bind your proxy to your public IP.
you might have to use the internal ptero ip tho
its like 172.something something
172.18.0.1
Yeah, the magic of containers i guess