jumpnjahosofat
Sorceror
Routers and connections for dummies.
This post is for all the people who are going to ask about getting your server set up so that other people can connect to it. There are countless posts on this topic. Maybe they are too hard to understand or maybe people are just not seeing the stickies. What I am going to try and do is make this as simple as possible for the networking impaired.
There are basically two ways to have a server connected to the internet. One is behind a router, the other is directly connected to the modem. I would say that the first is the more common way to have your server set up, so that is the one that will be addressed in this post.
Setting up the server behind a router.
Things to know:
1: The server's internal network IP address.
This is the IP address that the server is either given or the server aquires from the router. It is better that you have this set up as a static IP meaning that it does not change after rebooting the machine. The easiest way to give your server a static IP address is to find out what your server's current IP address is and use it for the static IP. To get your current IP address, go to Start-->Run--> and put "cmd" in the box.
This will open up a command window.
Type the command "ipconfig" and press enter. The window should now display something looking like the following.
Write down all the information!! You will need it all to set the static IP address. When you are done writing that information down, you can close the command window.
2: Your ISP's DNS numbers.
Using the information that you got from the ipconfig command, open a web browser and type the Default Gateway's IP address into the address box and press enter. This should bring you to the router's login prompt. If this hasn't been changed by the router's owner, one of the following combinations should get you logged into the router. The syntax is as follows: user : password
admin : admin
admin : password
Once you have logged into your router, click on the status button to get your DNS server IPs. There are usually 2 DNS servers: Primary and Secondary. Write them both down. It is a good idea to also write down the external IP address of your router. It will be the IP address that DOES NOT start with 192. If you don't see it now, just move on and I will tell you how to get it a little later.
Giving the server a static IP address.
Now that you have all the needed information, you are ready to set the server with a static IP address. Open up your network connections through your control panel. Right click on the network connection and select properties. This will open up your lan properties window.
Highlight "Internet Protocol (TCP/IP)" and press the properties buttone below. This will open up the tcp/ip properties window.
Put a check in "Use the following IP address" This will allow you to fill in all the blanks with the information that you wrote down previously.
After you have completed putting in all the information, click "OK" in the tcp/ip properties window and it will close. Click "OK" in the Lan Properties window and it will close. Your computer will now have a static IP address that will NOT change after restarting this computer. If in the future you wish to make it DHCP again, just go back to the tcp/ip properties window and put a check in the "Obtain an IP address automatically" spot.
Step 1. Setting up your router for port forwarding.
I only have two routers, so I can only go into great detail with those two routers. I have a Netgear and a Linksys router. As these are probably the most common routers in use, I guess this will help about 95% of the people trying to get there server running.
Using a Linksys router:
Step 1. Log into your router.
Step 2. Click the "Applications & Gaming" button.
Step 3. Make the following line in the Port Range section.
Application = A name you choose.
Start = port start range (2593)
End = port end range (2593)
Protocol = Both
IP Address = Your server's static IP address.
Step 4. After filling in all the blanks, press the "Save Settings" button.
This concludes the section on a Linksys router.
After finishing, go to the serverlist section of this post below.
Using a Netgear router:
Step 1. Log into your router.
Step 2. Click the "Port Forwarding/Port Triggering" button.
Step 3. Click the "Add Custom Service" button.
Step 4. Set it up as follows.
Service Name = A name you choose.
Service Type = TCP/UDP
Starting Port = Port start range (2593)
Ending Port = Port finish range (2593)
Server IP Address = Your server's static IP address.
Step 5. After filling in the blanks, press the "Apply" button.
This concludes the section on a Netgear router.
After finishing, go to the serverlist section of this post below.
Editing the Serverlist.cs file for connection.
Assuming that you have completed the tasks above, go to the website IP Chicken - What is my IP? Find Your IP Address! and write down your IP address. This is an external IP address that people will need to be able to connect to your server. They will not be able to use your internal IP address as it is a local only address. This is the IP to use.
Step 1. Open up the distro Serverlist.cs in the Scripts/Misc/ folder.
Step 2. Find the following line.
and change it to:
Step 3. Optional, you can name your server by replacing RunUO TC with your server's name.
This concludes the section on the Serverlist.cs changes.
Note: Not all Operating systems will open up a command prompt the same way. I did this using Windows XP Pro. If there are any questions about how this post or any changes that need to be made, please feel free to let me know. Add more to this if you wish.
This post is for all the people who are going to ask about getting your server set up so that other people can connect to it. There are countless posts on this topic. Maybe they are too hard to understand or maybe people are just not seeing the stickies. What I am going to try and do is make this as simple as possible for the networking impaired.
There are basically two ways to have a server connected to the internet. One is behind a router, the other is directly connected to the modem. I would say that the first is the more common way to have your server set up, so that is the one that will be addressed in this post.
Setting up the server behind a router.
Things to know:
1: The server's internal network IP address.
This is the IP address that the server is either given or the server aquires from the router. It is better that you have this set up as a static IP meaning that it does not change after rebooting the machine. The easiest way to give your server a static IP address is to find out what your server's current IP address is and use it for the static IP. To get your current IP address, go to Start-->Run--> and put "cmd" in the box.
This will open up a command window.
Type the command "ipconfig" and press enter. The window should now display something looking like the following.
Write down all the information!! You will need it all to set the static IP address. When you are done writing that information down, you can close the command window.
2: Your ISP's DNS numbers.
Using the information that you got from the ipconfig command, open a web browser and type the Default Gateway's IP address into the address box and press enter. This should bring you to the router's login prompt. If this hasn't been changed by the router's owner, one of the following combinations should get you logged into the router. The syntax is as follows: user : password
admin : admin
admin : password
Once you have logged into your router, click on the status button to get your DNS server IPs. There are usually 2 DNS servers: Primary and Secondary. Write them both down. It is a good idea to also write down the external IP address of your router. It will be the IP address that DOES NOT start with 192. If you don't see it now, just move on and I will tell you how to get it a little later.
Giving the server a static IP address.
Now that you have all the needed information, you are ready to set the server with a static IP address. Open up your network connections through your control panel. Right click on the network connection and select properties. This will open up your lan properties window.
Highlight "Internet Protocol (TCP/IP)" and press the properties buttone below. This will open up the tcp/ip properties window.
Put a check in "Use the following IP address" This will allow you to fill in all the blanks with the information that you wrote down previously.
After you have completed putting in all the information, click "OK" in the tcp/ip properties window and it will close. Click "OK" in the Lan Properties window and it will close. Your computer will now have a static IP address that will NOT change after restarting this computer. If in the future you wish to make it DHCP again, just go back to the tcp/ip properties window and put a check in the "Obtain an IP address automatically" spot.
Step 1. Setting up your router for port forwarding.
I only have two routers, so I can only go into great detail with those two routers. I have a Netgear and a Linksys router. As these are probably the most common routers in use, I guess this will help about 95% of the people trying to get there server running.
Using a Linksys router:
Step 1. Log into your router.
Step 2. Click the "Applications & Gaming" button.
Step 3. Make the following line in the Port Range section.
Application = A name you choose.
Start = port start range (2593)
End = port end range (2593)
Protocol = Both
IP Address = Your server's static IP address.
Step 4. After filling in all the blanks, press the "Save Settings" button.
This concludes the section on a Linksys router.
After finishing, go to the serverlist section of this post below.
Using a Netgear router:
Step 1. Log into your router.
Step 2. Click the "Port Forwarding/Port Triggering" button.
Step 3. Click the "Add Custom Service" button.
Step 4. Set it up as follows.
Service Name = A name you choose.
Service Type = TCP/UDP
Starting Port = Port start range (2593)
Ending Port = Port finish range (2593)
Server IP Address = Your server's static IP address.
Step 5. After filling in the blanks, press the "Apply" button.
This concludes the section on a Netgear router.
After finishing, go to the serverlist section of this post below.
Editing the Serverlist.cs file for connection.
Assuming that you have completed the tasks above, go to the website IP Chicken - What is my IP? Find Your IP Address! and write down your IP address. This is an external IP address that people will need to be able to connect to your server. They will not be able to use your internal IP address as it is a local only address. This is the IP to use.
Step 1. Open up the distro Serverlist.cs in the Scripts/Misc/ folder.
Step 2. Find the following line.
Code:
public static readonly string Address = null;
and change it to:
Code:
private const string Address = "your external ip here";
Step 3. Optional, you can name your server by replacing RunUO TC with your server's name.
This concludes the section on the Serverlist.cs changes.
Note: Not all Operating systems will open up a command prompt the same way. I did this using Windows XP Pro. If there are any questions about how this post or any changes that need to be made, please feel free to let me know. Add more to this if you wish.