How to Port Forward.

So you want other people to play your game ey?

In this tutorial I will show you how to use port forwarding in order to ‘get your game online’. I’m using windows 7 but this process works over any OS. (even if eclipse doesn’t aha)

HOWEVER, the command line command may differ with other OS’

Step 1

First things first, go ahead and open Command Prompt (cmd)

!

Step 2

Type in IPCONFIG and smash enter.

!

Step 3

You might get A LOT of information from this command so just scroll up until you find your actual internet connection. You’re going to need to remember two things from this, your router’s IP and your Internal IP.

!

Step 4

Open your web browser and go to your Router’s IP address. you will need to log in, in most cases these passwords haven’t been changed by home users. they are usually:

Admin/admin

admin/changeme

admin/default

default/default

admin/(blank)

default/admin

default/(blank)

!

Step 5

Next you need to look around the settings of the router and find the Port Forwarding setting. Go ahead and click on it to go to the port forwarding settings menu.

!

Step 6*

Now is the important part. In your client’s folder, there will be either a config.ini or data.ini, in here you specify what port to use (it must be a number)

you must make sure the port here is the same as the port number in the server’s config.ini/data.ini

you will put this port in the “Port Start” and “Port End” box on the forwarding settings.

THEN, put your internal IP in the IP Address box on the settings.

!

Step 7

Save the new rule, your router may need to restart but it’ll only take about 30 seconds. Then go to: http://www.ipchicken.com/ to get your ACTUAL IP address. put this in the client’s config.ini/data.ini in the IP line.

Start up your server and send your client to your friends/whoever you want to be playing your game.

AND YOU ARE DONE!

Notes:*

*You may find that if your computer gets turned off/on, that people can not connect to your server anymore, in which case you may need to repeat this process as your internal IP address has changed. Unless you set up a static IP for your computer that runs the server.

Don’t forget admin/[your wireless key here!]

Nice tutorial. Now we just need to make about two dozen more port forwarding tutorials to make sure everyone sees them.

Nice tutorial. Now we just need to make about two dozen more port forwarding tutorials to make sure everyone sees them.

Why don’t we just pin this in the Q&A section? ;)

Why don’t we just pin this in the Q&A section? ;)

Nobody EVER reads the stickies.

Why don’t we just pin this in the Q&A section?

I am implying as to the half a dozen or so port forwarding tutorials that already exist, yet more continue to be made, so we apparently need more of them!

Log in to reply