Poll

Would this post be worthy of a sticky?

Yes
No
Needs Improvements

Author Topic: Port Forwarding Tutorial  (Read 2216 times)

Alot of people have been asking alot of questions about how to port forward recently and I have decided to make an up-to-date tutorial on how its done.

What is Port Forwarding?
Whenever you connect to your router your router assigns your device an ip address. This ip address connects you with your router. Port forwarding is basically a "Traffic Director" that tells incoming connections where to go. If you assign a port to your ip address assigned to your device, than when an incoming connection comes to the router with the same port you forwarded. The Traffic Director will tell that connection to go to your device.

How to port forward
In order to (successfully )port forward there are 2 main steps. One forwarding the port, and two adding an exemption in your firewall.

First step:
Before you can access the router you need to know your routers default gateway. You may do this by Pressing the windows button and typing in the search box "CMD".

Open that program. Once opened type "ipconfig" and press ENTER on your keyboard.
Warning! Messing around with Command Prompt aka CMD is not recommended and can cause severe damage to your computer. If you dont mess around with it unless you know what your doing!

After entering "ipconfig" in command prompt scroll down until you see an entry titled "Default gateway".


Make sure to remember the number that I circled that will be used in just a bit!

Now, open your favorite internet browser and in the URL box type the number you were supposed to remember and press enter. When it loads you may be prompted with a box that looks similar to this:



For username and password (unless you know your username and or password) enter a combination of "admin" and "password". For example my username is "admin" and my password is "admin". If you cannot figure out your username/password contact your ISP for support.

Once you get to your routers web page you need to find the section for port forwarding. In my router it is under "Applications & Gaming" and "Single Port Forwarding".


Example of a Port Forwarding menu

Once you find that screen, It's time to enter some data!

  • First for a "Application Name" Type "Blockland", or anything for that matter. The Application Name field is only for you to remember what program thats for. Name it "UperhappyUnicornBlockyParty69" for all I care
  • For external and internal port enter "28000"
  • For Protocol make sure both UDP and TCP are enabled. If your not sure which option to choose its probably labeled "Both"
  • For to ip address or sometimes called "Target ip Address", open command prompt again (and if necessary re-enter ipconfig) and look for an entry titled "IPv4 Adress .... Number" enter that number in the "to ip" field.
  • Make sure the port is enabled and that you saved your router settings

Time to celebrate you just forwarded the port! However there are a few more steps. Because your firewall will most likely decline any incoming connections you need to create an exemption for this port. To do on windows firewall follow the following instructions:

Press the windows button and in the search box type "Windows Firewall"

Right-Click "Windows firewall with advanced security" and select "run as administrator". Once opened navigate to the "Inbound Rules" tab and select "new rule" from the options on the right hand side.

  • Select "Port" and press next
  • Select TCP and in the "Specific Ports" box enter "28000" and press next
  • Select "Allow the Connection" and press next
  • Press next again
  • Name this connection rule. It is your child. press finish
  • Click "New Rule" again and repeat this process. However this time select UDP instead of TCP on step 2.

There! You did it! Give yourself a pat on the back!


.....why would you contact your ISP?

.....why would you contact your ISP?
If you don't know your log in credentials for your router than your ISP can tell you or manually reset them (In most cases)


umm
May I remind you that that tutorial is with a older version of Windows and does not contain any information on creating a firewall exemption. This tutorial was made to be complete and fully up-to-date.

If you don't know your log in credentials for your router than your ISP can tell you or manually reset them (In most cases)
uhh no it can't

uhh no it can't
Just to be clear I am referring to an Internet Service Provider. I am assuming we both know what that is.
In my previous experience I could not retrieve my router Default gateway username/password. I contacted my isp (comcast) though their online tech support and asked for them to reset it. They were able to reset it, however it may be possible that other ISPs do not offer that service.

Looks helpful, my friend had trouble joining to my server, I might try this to see if it works.

Just to be clear I am referring to an Internet Service Provider. I am assuming we both know what that is.
In my previous experience I could not retrieve my router Default gateway username/password. I contacted my isp (comcast) though their online tech support and asked for them to reset it. They were able to reset it, however it may be possible that other ISPs do not offer that service.
If your ISP has access to your router like that then you are doing something wrong

the password for my router is default anyway lol

If your ISP has access to your router like that then you are doing something wrong
Well, that not a good sign :/

lol first result of googling "blockland port forwarding" is this
http://blockland.us/portforward/

If you don't know your log in credentials for your router than your ISP can tell you or manually reset them (In most cases)
Every router has a default login. You don't need to worry about that.

If you don't know your log in credentials for your router than your ISP can tell you or manually reset them (In most cases)
They'll tell you the exact same thing that Linksys/Cisco/D-Link/whoever's support will tell you; hold the reset button on the router.

Looks very helpful, appreciate the effort put into it.