Vodafone port forwarding?

Ar
- in Servers
12

I would like to create my own Minecraft server to play with friends on a private server. I downloaded the 1.15.2 server file from minecraft.net, set everything with the IP and so on, etc.

But my problem now is that I somehow have to forward the port via my Wi-Fi router, but I don't know where. I entered my IP on Google, entered the password and am now on the Vodafone page. All online tutorials that I found are older, so the Vodafone site doesn't look the way it is described.

Everywhere it says that one should click on "Router → NAT" or on "Files → Ports", but these categories are not listed on my website and when I click on Settings or something, there are no "Forwarding Ports"

If that is somehow important, I have a "Vodafone EasyBox 804" and want the server for the "Minecraft Java Edition, 1.15.2"

ka

Here are the instructions for your box:

https://media.vodafone.de/www/assets/pdf/hilfe-und-support/devices/vodafone/bedienungsanleitung-easybox-804.pdf

The keyword is "Port Mapping", page 86 in the instructions.

There you enter the relevant ports via which a connection to your router should be allowed from the outside from the Internet (i.e. The relevant port numbers of your Minecraft server) and enter the internal IP address (= IP address of your Minecraft- Servers within your home network) the data should be forwarded.

Now you only have the problem that your friends need to know the public IP address under which your router can be found on the Internet.

Ar

Thanks first, but one question:

What is the difference between port and port range and what do I have to enter? So with private port and public port. Any port I want or a specific one?

ka

Port = a single port, i.e. A single port number (e.g. 4711)

Port range = A whole range of consecutive port numbers, e.g. Port 23500-23599

The private port is the one used by your Minecraft server in the "private network". If the document says "we need port 4711", that's the private port.

The public port is the port number to which your router should react on the Internet and whose data it then forwards to the private port of your Minecraft server. In theory, you could use different port numbers than the ones used by the Minecraft server itself.

Then all programs that want to connect to it should also know about it and send their requests to this other port number of your router, which means your friends would have to reconfigure all of their Minecraft clients so that they use these other port numbers that you specified.

I would leave it and use the same port number as the public port as for the private port. Otherwise it only leads to confusion.

Ar

I have now taken 25565 on both. What do my friends have to do now to get on the server and do I have to enter this 25565 somewhere or only on the Vodafone page?

ka

What does "with both" mean?

Each individual port of your Minecraft server must also be accessible on its own public port number on the router. You can't put several ports of a program all on the same port of the router.

It would be like having multiple phone calls on the same phone line at the same time and everyone talking at the same time. - It doesn't make sense, and nobody understands anything anymore.

If there are 2 ports on the Minecraft server that you have to release, then you must make a separate entry for each of them in the router and of course also enter a separate public port on the router for each of them. Not the same twice.

And, as I said, take the same numbers as public ports as they are used as private ports by the Minecraft server. Otherwise all of your friends will have to adapt their Minecraft programs so that they can access your server. This only leads to errors and problems.

And: What do you mean by "the Vodafone side"?

Are you talking about the surface of your router you are on?

Sorry, if you obviously don't know what you're doing there, then you shouldn't "mess around" on your own.

Ar

I understand almost nothing xD
I think so too. So I entered the same for the private and the public port. I mean that with both.

Ar

Why, I did everything by myself, except for the router, because I haven't really dealt with it yet. I entered my IP on Google, logged in with the EasyBox password and was then forwarded to a Vodafone page. There I clicked the + under port mapping and created a new "connection", where I entered port 25565. Now I just don't know if I and my friends have to enter the IP or the port in Minecraft and if I have to change anything in the server.properties or something

ka

To 1 .: Yes, that worries me. Because such a port forwarding is also a potential security gap, because others can use it to connect to your computer (= Minecraft server). In principle everyone from the entire Internet. So you should know exactly whether and what you risk if you open one of these doors "on the Internet".

To 2 .: OK, then it is good. But if the Minecraft server e.g. If you need more than one port, you must also enter each of these ports individually in the router under "Port mapping".

----

You get another problem anyway, even if it all works:

How do your friends know the public IP address of your router (this is the IP address under which your router can be found on the Internet) so that they can enter this address as a Minecraft server in their Minecraft programs? Do you know how to find out your public IP address?

And: Usually it is not assigned permanently "forever" but changes regularly (usually once a day with the usual private internet connections). So you have to tell your friends your current public IP address of the router every day.

One way to find out is to go to one of the many pages that shows you your public IP address. E.g. https://www.whatismypublicip.com

There are other options (e.g. Via dynamic DNS names that always point to your current public IP address), but I'm afraid that it will be too complicated to guide you completely and to describe all of this step by step. I would have to type whole books here…

ka

I mean that with "relatively little idea".
You write things like:

I entered my IP in Google

No, you didn't enter anything on "Google". Google is an internet search engine.

You have entered something in the address line of your web browser with which you can display websites (including those from Google but also the pages on your router with which you can control and set your router).

I logged on with the EasyBox password and was then forwarded to a Vodafone page

No, you have entered the local IP address of your router in the address bar and have landed on the settings page of the router, where you have logged on to the router and are now making settings in your router (the so-called "Vodafone pages" ).

I'm not doing that now to annoy you, to discourage you or to show you here publicly as a "fool". - On the contrary. For someone who has no idea about the matter, you are doing very well here! 👍

I'm concerned to make it clear to you that although you can manage to enter something somewhere according to the instructions, you obviously do not really understand the whole background and do not even know what you are doing with it.

It is like "I copied the operation of the individual levers, pedals and wheels in the car from the driver and now imitate him without knowing what I actually do with it and what you have to watch out for when driving."

I just want to warn you that something like that can "backfire" because I (or someone else here) don't know where we have to point out any special features. We don't know what you don't know, so to speak.

ka

Your friends must now enter the public IP address of your router as the server address of your Minecraft server.

You do not have to change the port numbers, since you have always used the same port number as the public port number as for the private port number.

Ar

Everything is working now. I know my IP that I can tell my friends, the server is running and I can connect to it. I haven't tested whether my friends can, but I think it will work.

The console only says that the server is probably. Is overloaded and that I'm moving too fast. But this is supposed to be a survival server anyway and so I think that the problem with moving too quickly will not be anymore. I will get fixed that with overloading the server, because I know why. I have the RAM and so not yet divided appropriately. I'm going to look for a kind of table, where it says how RAM should be divided.

Thank you for your patience and your good explanation @ Waldmensch70

Thanks to you, I can now realize cool projects with friends on my PRIVATE server and am no longer tied to servers like Aternos

ka

Great, I'm happy!