Hey. I followed this tutorial:
https://www.balena.io/blog/how-to-create-a-minecraft-server-for-the-pi-4-with-balena/
https://github.com/AlexProgrammerDE/balena-minecraft-server
First off, thanks! It works, locally. There is the issue. I portforwarded ports 22 (ssh), 25565 and 25575. People can't login using my public IP, but instead of not connecting or refusing connection, it times out instead.
To Reproduce
Steps to reproduce the behavior:
- Follow this tutorial: https://www.balena.io/blog/how-to-create-a-minecraft-server-for-the-pi-4-with-balena/
- Deploy this package using balena (literally the button present on the page): https://github.com/AlexProgrammerDE/balena-minecraft-server
- Edit in SSH via WinSCP the server.properties file and set the server IP to the local IP of the raspberry pi 4
- Port forward ports 22, 25565 and 25575 all with protocal TCP/UDP. For each port, external and internal port range the same.
- Restart the router (NETGEAR Nighthawk r7000) and restart the balena application.
Expected behavior
The server starts up. I can just connect with the local ip 192.168.1.34. Also the MOTD shows up when you add that server. I expect it to also allow me to enter SSH via public IP and enter the server via public IP.
Screenshots
The first picture shows that locally this port is open, but publically (second picture) closed.
Port forwarded ports ^^^
"Networkerror: Timed-out while connecting to: "84..."
Timed out using public IP.
Raspberry Pi (please complete the following information):
- OS: balenaOS 2.53.12+rev1
- Version 11.9.9
Minecraft (please complete the following information):
- Device: PC
- OS: Windows 10
- Minecraft Edition Java Edition
- Minecraft Version 1.16.1
Additional context
I can't find a firewall on my router. I have seen something that could be it, but I'm not sure. It's called WAN. Haven't touched it yet, but I wanted to ask first if someone else sees a solution in this. Everything regarding the tutorial was entirely done trying to avoid manual stuff. For example, the "deploy using balena button" instead of manually looking into it. Furthermore, I want to say sorry in advance, because the chances are big it isn't the problem of your tutorial or package, but because I am blind. But I've already spent hours into it, asked advice from others, but I'm just stuck. Lastly, everything regarding balena works. I can just go ahead play on it on local network. It's just the public IP that is not working.
If I missed anything, feel free to ask for it. Ill try to respond as fast as possible! Thanks in advance!