Hi, I recently set up a VPN on my Raspberry Pi so I can access my files on the go anywhere. I port forwarded ports (UDP) 500 & 4500 on my Pi and installed a profile on my phone so that only my phone can connect through to the VPN (pistrong). I'm not too concerned about security there as it's tunneling through a VPN but I also was experimenting with setting up a Minecraft server for me and my friends on my Pi. I'm running the JVM through Docker and that would require me to port forward port 25565 on my Pi.
My question is how secure is this or does this pose any kind of security vulnerability? I know Minecraft servers aren't the most secure, to begin with (or heck, port forwarding, in general, isn't that recommended) but what are the chances someone with malicious intent could be able to hack through to my Pi? I'm not that educated on networking, but since I only exposed port 25565, would the person with malicious intent only have access to data being sent only through that port? Or would they be able to compromise my entire Pi (access other files beyond the mc server), or even other devices on my network?
My question is how secure is this or does this pose any kind of security vulnerability? I know Minecraft servers aren't the most secure, to begin with (or heck, port forwarding, in general, isn't that recommended) but what are the chances someone with malicious intent could be able to hack through to my Pi? I'm not that educated on networking, but since I only exposed port 25565, would the person with malicious intent only have access to data being sent only through that port? Or would they be able to compromise my entire Pi (access other files beyond the mc server), or even other devices on my network?