Minecraft server on Raspberry Pi without port sharing?

Ka
- in Servers
18

I wanted to know how to set up a Minecraft server (or the network behind it) in such a way that I don't have to release the port in the router and the server can still be reached from outside (for friends).
some talk about Hamachi, is this still timely or are there other options?

It just has to be possible to access the server somehow (without port sharing) from outside my private network.

po

I wanted to know how to set up a Minecraft server in such a way that I don't have to release the port in the router and the server can still be reached from outside (for friends).

This has nothing to do with the Minecraft server. The network, but not the service, must ensure accessibility from the Internet.

I just have to get into the www with the server somehow…

No, the other way around. First of all, it's not the www but the internet. The www is just a tiny part of the internet. And secondly, the server does not have to come into the Internet, but the opposite direction is your problem.

You can rent a server from a hoster, set up a VPN server there and connect the computer on which the Minecraft server is running to your VPN server via a VPN client. If you do this correctly, others can then access your Minecraft server through the VPN.

Wa

I'd be interested in that too. After c't advised against opening ports more and more often.

Ka

Thanks for the correction… But unfortunately this helped exactly 0: D
If I have to rent a VPN server, what else do you think I could do?
exactly, rent the server directly… But that's exactly what I don't want. It should be a small server for a few friends that runs 24/7 on a Raspberry Pi. Since I don't need any performance servers, a rented server is a bit unnecessary for me.

Wa

What you need is a VPN, then everyone is on the same LAN. Don't ask me how to set this up.

po

If I have to rent a VPN server, what else do you think I could do?

I thought so too. However, there could be a difference between renting a server to host a game and a server for a VPN. A VPN server is much more modest and therefore cheaper.

I can't think of any other option.

Ka

Yes, I'm aware of that, I just wanted to ask whether 1. There was another possibility and 2. What are the possibilities at the moment. (Hamachi is quite old)

sy

And the Raspberry doesn't use any electricity? It will only amount to 1-2 euro a month, but renting a server costs 4 euro if you get the cheapest Vserver somewhere even cheaper.

po

What you need is a VPN, then everyone is on the same LAN.

Correct. But the VPN tunnels have to converge somewhere. If he runs the VPN server himself, he also needs port forwarding. So boils down to the same problem.

Ka

Okay, thank you anyway.

sy

No Hamachi can still be used or Parsec also has a virtual LAN function

Ka

Um 1. Did I always say that it won't cost anything?!
2. 1-2 euro are half of the rent without "side effects"
3. May I find out from you where you can get a server with 4GB RAM so cheaply? Would be very helpful…

Ka

I just have no plan how to put this on…

Wa

Hetzner> Cloud Server probably. They start there from 2 euro. With one click you have a Debian server running.

sy

So is electricity free with you?

A 1GB ram vserver still runs better than any Minecraft server on a Pi, even if the 4GB one Minecraft is not optimized for ARM so runs badly

Ka

No, where should the 1-2 euro come from but it doesn't matter…
can be good, but as described above, it is not the performance that matters to me… But the cost / year runtime… It should not be a high performance server!

sy

Yes then just do as you want, install Hamachi on the Pi and that's it. Hardly believe that your friends have fun playing on a stuttering server but yes if you want to have it as cheap as possible.

Ka

Oke… Maybe not so much on the warpath today?
I just want to come as cheaply as possible. And since we only survive 4th or 5th games anyway…
what do you recommend Setting up an MC server on a cloud server is no problem, but what would be the cheapest alternative? So with at least 2GB RAM and 2 cores?

sy

Hetzner has already been mentioned because the cheapest is 2.78 euro / month and you will already know the various Minecraft server hosters or even host them yourself, but if you don't even want to release the port it will be difficult. You can also have a look at Aternos there should be free servers obs what is probably not good.