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
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 theinventordoesstuff#0
Discount Milk
Discount Milk2y ago
You don't port forward your backend servers, only your velocity server.
lavaking46
lavaking462y ago
I've always had to port forward to the backend servers and the velocity...
Lunaiskey
Lunaiskey2y ago
you shouldnt have to, since the proxy will move you between the backend servers backend servers shouldnt be accessable
lavaking46
lavaking462y ago
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
Lunaiskey
Lunaiskey2y ago
thats different
lavaking46
lavaking462y ago
otherwise would get errors when trying to join or move between servers
Lunaiskey
Lunaiskey2y ago
if the servers are all under one machine then you dont have to allow access to backend servers
lavaking46
lavaking462y ago
they are all on one and I still have had to port forward to allow it to work
itaquito
itaquito2y ago
Whats port forward? @lavaking46
lavaking46
lavaking462y ago
port forwarding is the process of associating a connection on a port to your public ip to a port on an internal IP address
itaquito
itaquito2y ago
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.
lavaking46
lavaking462y ago
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
itaquito
itaquito2y ago
You can't join your backend server via your proxy without opening them to the internet?
lavaking46
lavaking462y ago
When I was using an oracle vps that was the case
itaquito
itaquito2y ago
hu
lavaking46
lavaking462y ago
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
itaquito
itaquito2y ago
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
lavaking46
lavaking462y ago
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
itaquito
itaquito2y ago
Oh, if you are using ptero, the localhost ip won't work as expected.
lavaking46
lavaking462y ago
what do you mean
itaquito
itaquito2y ago
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.
lavaking46
lavaking462y ago
I use velocity
itaquito
itaquito2y ago
Pretty much the same
lavaking46
lavaking462y ago
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
itaquito
itaquito2y ago
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.
lavaking46
lavaking462y ago
ok
itaquito
itaquito2y ago
Then on your proxy you just use 172.18.0.1 with the port and thats it.
lavaking46
lavaking462y ago
ok
itaquito
itaquito2y ago
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.
Lunaiskey
Lunaiskey2y ago
you might have to use the internal ptero ip tho its like 172.something something 172.18.0.1
itaquito
itaquito2y ago
Yeah, the magic of containers i guess

Did you find this page helpful?