SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 24/03/2008, 07:48 PM   #1
clum
Little Clucker
 
Join Date: Sep 2007
Posts: 7
Reputation: 0
Default Guide to Forwarding Ports

I decided to make this topic as the idea of port-forwarding still seems to bemuse some people.

Firstly, portforwarding is the process of unblocking ports in a firewall/router/modem/hub, etc. This allows programs to send and receive data through these ports. Most routers/modems/firewalls will need some sort of port-forwarding to allow applications to run correctly. Remember, these ports are usually blocked for reason, safety first! Unblocking these ports allows anyone to send data through them (if they know your ip and port number that is).

To unblock a port there are a few things that need to be taken into consideration:
  • Are you competent enough to go fiddling with your home router's settings?
  • Can you set up a static network(internal) ip for your computer?
  • Are you willing to leave yourself open to all kinds of viruses that COULD be transmitted to your computer through your open ports?

If your answer to all these questions are yes, then lets continue.

Firstly, you will need your network (internal) ip address.
This will look something like 192.168.0.x
But they do vary according to router/modem etc.
To do this you need to open up a handy little tool called command prompt
With this you can do lots of computer-based things. But for now, we will only be discussing how to obtain your private network ip address.

To find command prompt you need to do the following:

For Windows Vista and XP Users:

1. Open the Start Menu
2. Select All Programs
3. Select Accessories
4. Select Command Prompt

Good, now after that you should have a nice black window showing on your screen with lots of pretty writing.

Command Prompt:



Now if you have this showing or some other variation (for Windows Vista users it may look SLIGHTLY different) then we are ready for the next step.
If you DONT then go back and follow the steps.

Now into Command Prompt type the following

ipconfig

Then hit the enter key.

You will see some more lovely writing now appearing

ipconfig



On your computer you will most likely see more network adaptors listed than in the above pic.

Now you need to determine what adaptor you use for your internet connection, this should be pretty obvious as most of the others will say media disconnected.

When you have found your correct network adaptor you need to then find the line ipv4 address this will be followed by an ip address which corresponds to your computer. The default gateway address, this is the address of your router/modem, keep this in mind as you will need it for the next part.

Now that you have obtained both addresses you need to now visit this site.

www.portforward.com

This site shows how a variety of routers can be portforwarded for a multitude of games.

Now goto http://portforward.com/english/route...outerindex.htm

Choose your router model and follow the onscreen instructions.

Bearing in mind the ip address of your router is the address shown as default gateway in the command prompt screen. The ports you need to forward will be the default SAMP ports in your script (If you haven't altered the port settings then this will be port 7777)

Hopefully after doing this you will now have forwarded the correct ports to the correct IP address of your computer.

After you have done this you may want to gather a few friends and test it out. Get them to try and join the server, and if all was done correctly then they will be able to join.
Or if you dont have any friends just ask some people you know.

Thanks for reading, if you have any suggestions then tell me and ill make the corrections.
clum is offline   Reply With Quote
Old 24/03/2008, 07:50 PM   #2
GtakriZ
Big Clucker
 
Join Date: Jan 2007
Posts: 141
Reputation: 0
Default Re: Forwarding your Ports

Very cool tutorial. It will help newbies.
GtakriZ is offline   Reply With Quote
Old 24/03/2008, 07:51 PM   #3
clum
Little Clucker
 
Join Date: Sep 2007
Posts: 7
Reputation: 0
Default Re: Forwarding your Ports

Quote:
Originally Posted by GtakriZ
Very cool tutorial. It will help newbies.
Thanks, we can always hope that they read it
clum is offline   Reply With Quote
Old 24/03/2008, 07:54 PM   #4
GtakriZ
Big Clucker
 
Join Date: Jan 2007
Posts: 141
Reputation: 0
Default Re: Forwarding your Ports

It should be stickied.
GtakriZ is offline   Reply With Quote
Old 24/03/2008, 07:55 PM   #5
clum
Little Clucker
 
Join Date: Sep 2007
Posts: 7
Reputation: 0
Default Re: Forwarding your Ports

Quote:
Originally Posted by GtakriZ
It should be stickied.
It's up to the moderators, i only put it up because of the number of excessive posts made about blocked ports.
clum is offline   Reply With Quote
Old 24/03/2008, 08:27 PM   #6
clum
Little Clucker
 
Join Date: Sep 2007
Posts: 7
Reputation: 0
Default Re: Forwarding your Ports

Kinda surprised no-one has made a topic like this before
clum is offline   Reply With Quote
Old 24/03/2008, 10:48 PM   #7
Rozzie
Huge Clucker
 
Join Date: Nov 2007
Posts: 448
Reputation: 7
Default Re: Forwarding your Ports

you was a bit late for me XD
well ever me got what you mean xD
Rozzie is offline   Reply With Quote
Old 25/03/2008, 05:49 AM   #8
clum
Little Clucker
 
Join Date: Sep 2007
Posts: 7
Reputation: 0
Default Re: Forwarding your Ports

Quote:
Originally Posted by .::Xzibit::.
you was a bit late for me XD
well ever me got what you mean xD
lol, at least it's here now xD
clum is offline   Reply With Quote
Old 25/03/2008, 05:51 AM   #9
Mr.Lennart
Little Clucker
 
Join Date: Jun 2007
Posts: 38
Reputation: 0
Default Re: Forwarding your Ports

Hey good job, you will helping alot of people with it
Hopefully it's getting stickied man.
Mr.Lennart is offline   Reply With Quote
Old 25/03/2008, 06:23 AM   #10
clum
Little Clucker
 
Join Date: Sep 2007
Posts: 7
Reputation: 0
Default Re: Forwarding your Ports

Quote:
Originally Posted by MrLennart`
Hey good job, you will helping alot of people with it
Hopefully it's getting stickied man.
Thanks man, all these nice comments help :P
clum is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forwarding ports with Wireless connection string227 Server Support 4 13/01/2010 10:29 PM
Hosting A Server And Forwarding Ports [Detailed Guide] Ritchie999 Server Support 8 28/10/2009 09:33 PM
Forwarding ports on Belkin F5D8233-4 ?? DiVyDaN_[NH] Server Support 5 02/09/2009 12:30 PM
Forwarding ports emer720 Server Support 9 23/08/2009 03:12 AM
MOVED: Forwarding ports JaTochNietDan Help Archive 0 23/08/2009 03:11 AM


All times are GMT. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.