HOWTO: Port Forward

Are you new to setting up a server and need a bit of pointing in the right direction? This is the place to be.

Post Permalink
by Jaredwhamilton » 9/18/2012

I've been searching around these forums for a little bit now, and I've noticed a few threads where people are asking how to port forward. I also did not come across any guide on how to do it, so I thought I would try to help out by providing the Planet Minecraft Community with a guide on port forwarding.

GOAL: Explain how to port forward to avoid using Hamachi

Introduction:

We all know that in order to host a Minecraft server on your own network, you'll need to configure port forwarding. The problem with explaining this is that every router is different. This makes it very difficult to explain how to do this for each individual person. What I plan to do in this guide is give you a reasonable idea of how to port forward. This way you can look in your own router for some of the keywords outlined in this document to help you along the way.

I am going to show you a Netgear router in this demonstration, hoping that some of you are using their routers. Netgear is a pretty common router manufacturer, so I think that this will reach a broad audience. If I gain access to more routers, I will supply screenshots and guides for those in here as well.

This guide also assumes that you are using Windows to configure your router. I will show you how to find your computer's IP address on your network. For this guide, I am using Windows 7 Professional, but the steps should be relatively close from Windows XP to Windows 8.

Notes:
:!: It is important to configure your computer with a static IP address when port forwarding
:!: It is not a good idea to use a wireless card when hosting a server
:!: Using a consumer class internet connection to host servers usually breaks the Terms of Use for most Internet Service Providers

Step 1. Obtain Information

The first thing you will need to do is identify your router's IP address. The router is also known as a Default Gateway.

1. Click Start and Choose 'Run' (on Windows Vista and above, just click start)
2. In the Box that appears (or in the Start Search Vista +) type 'CMD' (No Quotes)
3. Press Enter or Click 'Okay' - A Black Command Prompt will appear.
4. In the Command Prompt Window, Type 'ipconfig' (No Quotes) and press Enter
5. You will be given some information, Make note of two items: (Write them down)
a: IPv4 Address (or IP Address for Windows XP)
b: Default Gateway

Image

Step 2. Logging Into your router

We will need to use the information that you gathered from the last step to access your router.

1. Open your Internet Browser (Chrome, Firefox, Internet Explorer, etc)
2. In the address bar, type the Default Gateway Address (usually 192.168.1.1 or similar) and Hit Enter
3. You will be prompted for a username and password. Look at the bottom of this guide for some typical default usernames and passwords for some common routers.

Step 3. Port Forwarding

Now that you're logged into your router, we can get down to business. This is the part that is going to vary for different router manufacturers. I will break them down by router here, so this list may get pretty long over time.

Netgear WNDR3400v2
Spoiler
1. Start By clicking the 'Advanced' Tab at the top
2. On the left hand side, Choose 'Advanced Setup'
3. Click 'Port Forwarding/Port Triggering'
4. In the middle of the screen, click 'Add a Custom Service'
5. Match the Following to below:
Service Name: Minecraft_Server
Service Type: TCP/UDP
External Starting Port: 25565
External Ending Port: 25565

6. In the 'Internal IP Address' section, Place your IP address you found in step 1
7. Click 'Apply'


Common Usernames and Passwords

Netgear
Username: admin
Password: password
Linksys
Username: admin
Password: admin
Verizon Modem/Router Combo
Username: admin
Password: password
:!: Note: This router will make you change the password after you log in for the first time.

Want to make this guide more accurate? Let me port forward for you! Contact me on PMC or on Skype!

I will port forward your router for you, taking note of the Manufacturer and Model of your Router, and writing down the steps involved to port forward for your router. I will then add it to the list on this guide to help other people.


If you have suggestions, comment below. If you would like to see more guides like this, such as Setting a Static IP, Configuring Windows Firewall for Minecraft, etc, leave a comment and I'll try to help you out. I hope this helps some people out there!
Image
http://www.HamiltonNetwork.net
Join us on Factions! --> Factions.HamiltonNetwork.net
User avatar
Level 12
Journeyman Miner
Posts: 39
Joined: 2/25/12
Location: PA - United States
Says: Join us on Factions!
Minecraft: jaredwhamilton
mc_server: Factions.HamiltonNetwork.net

Post Permalink
by lanman144 » 9/18/2012

I would edit you ip out off the image
Image
User avatar
Level 3
Apprentice Engineer
Posts: 58
Joined: 2/22/12
Minecraft: lanman14444
mc_server: Crystalspires

Post Permalink
by Jaredwhamilton » 9/18/2012

lanman144 wrote:I would edit you ip out off the image


That IP isn't going to do you any good, as it is an internal IP, not an outside IP.
Image
http://www.HamiltonNetwork.net
Join us on Factions! --> Factions.HamiltonNetwork.net
User avatar
Level 12
Journeyman Miner
Posts: 39
Joined: 2/25/12
Location: PA - United States
Says: Join us on Factions!
Minecraft: jaredwhamilton
mc_server: Factions.HamiltonNetwork.net

Post Permalink
by ZombehPig2 » 9/18/2012

Kinda the wrong spot... This should really go under tutorials. Sorry for correcting where it should be, but its annoying to have wrong posts in wrong sections.
Image
Image
User avatar
Level 26
Expert Engineer
Posts: 553
Joined: 8/22/12

Post Permalink
by Jaredwhamilton » 9/19/2012

ZombehPig2 wrote:Kinda the wrong spot... This should really go under tutorials. Sorry for correcting where it should be, but its annoying to have wrong posts in wrong sections.


I agree. I sent a report to the staff to see if they wanted to move it, but they just deleted the report. I'm assuming they don't think it needs to be moved..

I'd hate to cross-post, but I think you're right. Tutorials is probably the best place for this. I didn't see that forum until after I posted this.
Image
http://www.HamiltonNetwork.net
Join us on Factions! --> Factions.HamiltonNetwork.net
User avatar
Level 12
Journeyman Miner
Posts: 39
Joined: 2/25/12
Location: PA - United States
Says: Join us on Factions!
Minecraft: jaredwhamilton
mc_server: Factions.HamiltonNetwork.net

Post Permalink
by ZombehPig2 » 9/19/2012

Just copy n paste over then we'll just never talk on this one again :)
Image
Image
User avatar
Level 26
Expert Engineer
Posts: 553
Joined: 8/22/12


Return to Server Help