24.03.2008, 19:48
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:
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.
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?
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.