this post was submitted on 22 Nov 2023
1 points (100.0% liked)
Home Networking
189 readers
1 users here now
A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.
Rules
- Please stay on topic.
- Please use the search function to look for keywords related to what you want to ask before posting since most common issues have been answered.
- No Ads. This community is for support and discussion. Ads and self promotion are not welcome here.
- No product reviews or announcements. If you have a question about a product, be specific about what you want to know.
- Be civil. Don't be a jerk. Not being a jerk is surprisingly easy.
- No URL shorteners. URL shorteners tend to hide the real use of a link. For this reason, please use normal links, even if they're long.
- No affiliate links.
- No gatekeeping. With profession shall come professionalism. Extend help without judging others for their ignorance. The same goes for downvoting of comments or posts for "stupid questions" or not being as knowledgeable as others.
founded 10 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Think of it like an address on an office building. The post office delivers all of the mail to 123 Candy Cane Lane. The name on the letter doesn't matter to the mailman, they have no clue where Fred Smith's office is located, and they aren't allowed in the building anyway even if they did. The receptionist at the office takes all of the mail and passes it along to the correct person based on the name. If they've been told where Fred Smith's office is located, they deliver it. If not, they assume Fred Smith doesn't work there and they either reject it or just throw it in the trash.
Your ISP is the mailman, your gateway/router is the receptionist. The name on the envelope is like the port number. As long as you configured the router to take traffic meant for port 25565 (default for Minecraft server) and forward it to the INTERNAL IP address of your minecraft server, it should work if your friend connects to your PUBLIC IP address.
Depending on your ISP, you could be in a double-NAT situation, which basically means there's another receptionist in between, and you have no way to tell that receptionist who is who, all they do is reject all mail unless they're told ahead of time to expect something in return of what you sent out. If that's the situation you're in, you won't be able to run a server at all without a VPN that allows port forwarding, or some other sort of method to proxy the connection.