Configuring Routers, Generic Guide
Posted: Fri Jun 30, 2006 7:07 am
Configuring Routers For UO EMU Use
Original Author: RoseThorn
Edited By: MuadDib
POL Version: MuadDib
Original Post: http://www.scriptsharing.org/viewtutorial.php?id=155
General Router Setup
Ok, everyone has a problem getting anyone connected to them because of routers, so here ya go.. a step by step for the most common household router: Linksys. If you have another brand, I'm sure you can figure out how to do it following these instructions too. I have a Linksys router and roadrunner cable and two computers, if you know your setup just isn't compatible here, don't try it.
*BEFORE YOU DO ANY OF THIS, WRITE DOWN ALL THE SETTINGS FIRST SO YOU CAN GO BACK TO THEM IF THIS FAILS, I AM NOT RESPONSIBLE FOR BROKEN NETWORKS OR OFFLINE COMPUTERS. WRITE DOWN YOUR CURRENT SETTINGS!!!! COPY THIS ENTIRE POST BEFORE YOU BEGIN SO YOU CAN VIEW IT OFFLINE!!!*
1.) Understand the difference between LAN and WAN ips. LAN = Local Area Network, it's the 192.168.*.* ips your computers and router at your house have, and cannot be accessed from the internet. WAN = Wide Area Network, it's the real ip assigned to you by your internet service provider, the one your players will need to connect to your shard.
2.) Find out how you have LAN configured. You're gonna want to have each computer connected to the router with it's own permanent LAN ip, not dynamic. If you have DHCP enabled on the router, your LAN ip on each comp will change on reboots/resets. Turn it off or you'll be editing it everytime your ip changes locally.
3.) For Win9x/ME users you'll have to figure this out yourself, I don't have it.. but for Win2k (and I think XP) users go to My Computer -> Control Panel -> Network and Dialup Connections. Right click on the "Local Area Connection" icon, go to Properties. Highlight (click once on) Internet Protocol (TCP/IP) and click the Properties button.
4.) Click "Use the following ip address" and type in 192.168.1.2 (or whatever numbers you want, but make sure you don't use 192.168.1.1 which is the router's default LAN ip). Click in any box for Subnet Mask and it should fill itself in with 255.255.255.0, leave these alone. Default gateway is the ip of your router, 192.168.1.1 by default for Linksys.
Repeat this step for every computer connected to the router, using a different ip (example 192.168.1.2, 192.168.1.3, 192.168.1.4, etc) for the first box for each computer. Subnet Mask and Gateway remain the same for all computers.
5.) Click "Use the following DNS servers" and type in your primary and secondary DNS servers given to you by your isp. I can't tell you what these numbers are, you'll have to know them or ask your isp for them. These numbers will be the same for each computer connected to the router.
6.) Click ok and ok again, and let it reboot if it asks. On Win2k I can usually just disable then enable the network connection to make new settings take effect.
7.) Open internet explorer (or whatever browser you use) and type in http://192.168.1.1 (or whatever your router's LAN ip is). This should open a password screen for your router's config settings. Type in your password. The main screen will give you the option of "Obtain an IP address automatically" or "Specify an IP address". This is up to you and/or your internet service provider. If you have roadrunner cable like myself, it will work either way (dynamic cable), but to specify you have to know your current WAN ip to specify. If you specify (that is: you know your ip and your ISP told you what ip to use) then type it in, type in your DNS servers, and 255.255.255.0 for subnet mask. Leave the rest of that page alone as defaults.
8.) Click the ADVANCED button up top. Click FORWARDING up top. On the left side you will see 2 boxes going down in a row. "Service Port Range". In the first two boxes type in 5003 for both. Select TCP for the protocol. IP Address will be the one you assigned your computer sphere runs on. Example 192.168.1.2. Click APPLY. You may have to enter these settings twice, my router makes me for some weird reason. Second time should save them though.
Remember, the PORT you set up, will be the same port you have configured in /config/servers.cfg and in pol.cfg, of your POL shard.
9.) Close your browser and reboot computer, cable modem, and router if needed until it lets you online. This is where any problems are gonna occur and I can't fix hehe You may have to reboot it all a few times to get online, I usually do. After powering down your cable modem for a minute, rebooting your computer, and re-enabling your network (disable -> enable like from STEP 6), if you still cannot get online, you may have to go back to your original settings and forget everything I just said. Another alternative is to call your router manufacturer and ask for help, Linksys is pretty good for fixing broken networks. You could also call your ISP and ask them for help. Most ISPs do not support routers or local area networks however, and some don't allow them at all.
10.) The next chapter will discuss setting up the POL Server correctly.
Original Author: RoseThorn
Edited By: MuadDib
POL Version: MuadDib
Original Post: http://www.scriptsharing.org/viewtutorial.php?id=155
General Router Setup
Ok, everyone has a problem getting anyone connected to them because of routers, so here ya go.. a step by step for the most common household router: Linksys. If you have another brand, I'm sure you can figure out how to do it following these instructions too. I have a Linksys router and roadrunner cable and two computers, if you know your setup just isn't compatible here, don't try it.
*BEFORE YOU DO ANY OF THIS, WRITE DOWN ALL THE SETTINGS FIRST SO YOU CAN GO BACK TO THEM IF THIS FAILS, I AM NOT RESPONSIBLE FOR BROKEN NETWORKS OR OFFLINE COMPUTERS. WRITE DOWN YOUR CURRENT SETTINGS!!!! COPY THIS ENTIRE POST BEFORE YOU BEGIN SO YOU CAN VIEW IT OFFLINE!!!*
1.) Understand the difference between LAN and WAN ips. LAN = Local Area Network, it's the 192.168.*.* ips your computers and router at your house have, and cannot be accessed from the internet. WAN = Wide Area Network, it's the real ip assigned to you by your internet service provider, the one your players will need to connect to your shard.
2.) Find out how you have LAN configured. You're gonna want to have each computer connected to the router with it's own permanent LAN ip, not dynamic. If you have DHCP enabled on the router, your LAN ip on each comp will change on reboots/resets. Turn it off or you'll be editing it everytime your ip changes locally.
3.) For Win9x/ME users you'll have to figure this out yourself, I don't have it.. but for Win2k (and I think XP) users go to My Computer -> Control Panel -> Network and Dialup Connections. Right click on the "Local Area Connection" icon, go to Properties. Highlight (click once on) Internet Protocol (TCP/IP) and click the Properties button.
4.) Click "Use the following ip address" and type in 192.168.1.2 (or whatever numbers you want, but make sure you don't use 192.168.1.1 which is the router's default LAN ip). Click in any box for Subnet Mask and it should fill itself in with 255.255.255.0, leave these alone. Default gateway is the ip of your router, 192.168.1.1 by default for Linksys.
Repeat this step for every computer connected to the router, using a different ip (example 192.168.1.2, 192.168.1.3, 192.168.1.4, etc) for the first box for each computer. Subnet Mask and Gateway remain the same for all computers.
5.) Click "Use the following DNS servers" and type in your primary and secondary DNS servers given to you by your isp. I can't tell you what these numbers are, you'll have to know them or ask your isp for them. These numbers will be the same for each computer connected to the router.
6.) Click ok and ok again, and let it reboot if it asks. On Win2k I can usually just disable then enable the network connection to make new settings take effect.
7.) Open internet explorer (or whatever browser you use) and type in http://192.168.1.1 (or whatever your router's LAN ip is). This should open a password screen for your router's config settings. Type in your password. The main screen will give you the option of "Obtain an IP address automatically" or "Specify an IP address". This is up to you and/or your internet service provider. If you have roadrunner cable like myself, it will work either way (dynamic cable), but to specify you have to know your current WAN ip to specify. If you specify (that is: you know your ip and your ISP told you what ip to use) then type it in, type in your DNS servers, and 255.255.255.0 for subnet mask. Leave the rest of that page alone as defaults.
8.) Click the ADVANCED button up top. Click FORWARDING up top. On the left side you will see 2 boxes going down in a row. "Service Port Range". In the first two boxes type in 5003 for both. Select TCP for the protocol. IP Address will be the one you assigned your computer sphere runs on. Example 192.168.1.2. Click APPLY. You may have to enter these settings twice, my router makes me for some weird reason. Second time should save them though.
Remember, the PORT you set up, will be the same port you have configured in /config/servers.cfg and in pol.cfg, of your POL shard.
9.) Close your browser and reboot computer, cable modem, and router if needed until it lets you online. This is where any problems are gonna occur and I can't fix hehe You may have to reboot it all a few times to get online, I usually do. After powering down your cable modem for a minute, rebooting your computer, and re-enabling your network (disable -> enable like from STEP 6), if you still cannot get online, you may have to go back to your original settings and forget everything I just said. Another alternative is to call your router manufacturer and ask for help, Linksys is pretty good for fixing broken networks. You could also call your ISP and ask them for help. Most ISPs do not support routers or local area networks however, and some don't allow them at all.
10.) The next chapter will discuss setting up the POL Server correctly.