Author Topic: NAT routers and online games  (Read 6587 times)

Offline gryphon

  • Just me...
  • Administrator
  • Manager
  • *****
  • Posts: 1.733
  • nothing can seem fool to those that winn. ...
NAT routers and online games
« on: September 20, 2003, 07:19:29 pm »
as one guy on another forum ones so clearly wrote ..

Quote
i fix the problem!!! i hit the wire like 1000 times and it worked

There can be a few problems with NAT-routers and online games.
To debug problems related to routers yourself there are a couple of steps you can follow.
Make shure your router is in the default configuration state. If you are not shure reset the device before you start. If your router has a build in DHCP and DNS server for simplification you can better use that one then setting up your own network.
Set the DHCP server to hand out IP addresses in the range of 192.168.X.X. Where the most common  is probebly 192.168.1.X. Where X should be filled in with a number of 1 to 254 in the box for starting address and ending address. The ending address can obviously be only bigger then the starting address. And your routers IP should be in the same range [ meaning the first 3 trisoms need to be the same, 192.168.1 in this example ] as the ones youare giving away in your DHCP range. Preferably place your routeres IP outside the range you specify.
For a subentmask if you can choose it the safest one is 255.255.255.0.
To make shure, check if there is an build in firewall in your router. If so, if it is turned on or off. If giving you problems disable the firewall to check if that solves your problem.

[ note, the internal IP range of your local area network needs to be within a specific range of reserved addresses, IP addresses that can't be used on the internet and are specially reserved for internal use. If you choose anther IP then a reserved one it will most likely fail to work ]

After that check your computer. You will need the TCP/IP protocol installed with yoru network adapter. And set it to automatically get an IP address and configuration. Make shure there is no other software installed adjusting your IP or adapter settings.
[ some tweak programms and firewalls might do this. If you have them installed check their documentation to find out if to have these options ].
Reboot your computer or reactivate your network adapter depending on your OS. [ last  can only be done with WinXP without possible problems ] The IP you have recieved at that time should be in the range of the previously in your router specified range.





After you have done the above your router should be setup. Check if every thing is working as it should. Email clients, web browsers and network / online games.

NAT routers are in most cases compatible with peer-to-server games. The peer-to-peer games are most likely to cause the problems. [ Command & Conquer Red Allert is an example of a peer-to-server as you need to connect to a WOL server before you can play. Unreal is an example of a peer-to-peer game. You connect directly to another hosts. ]
As NAT routers are only forwarding traffics to internal hosts which the host has specifically asked for, it can block traffics in online games as they sometimes send out packets without requests. With peer-to-peer games this usually is the case.
The most simple way to get round this is to place the computer you are playing the game with in a DMZ of your router. This will result in all incomming traffic being forwarded to that computer.
[ even unwanted traffic so note that your computer is accesseble to attacks from outside as well at that time ]
If the game works with DMZ turned on, start a search to find which ports are being used by the programm. Place the computer out of the DMZ and ad port forwarding rules in your routers configuration.


With this menu, you can configure which machines on the LAN (if any) will allow users on the Internet (outside the LAN) access to the machines via specific Ports.

In this example, you can see that I've re-directed requests for HTTP (Port 80) and NNTP (Port 119) to the machine residing at address 192.168.1.103. What this means is that anyone who points their browser to my IP Address, will be re-directed to the machine on the LAN that is running the Apache Webserver. Likewise, anyone using a USENET News Client pointing to my IP Address will be re-directed to the NNTP Server (Changi) running on that same machine.


If at that point your game still doesn't work [ make shure you try it on one computer first ]
check your routers manufactorer for any release notes and firmware updates. Mayby a strange thing to do at this point. Some might argue that you should do this as one of the first things. I am mentioning it now as almost no one RTFM when they buy a product. And related to firmware updates .. if it isn't broken, don't fix it.

Some cable modems bind to the first MAC addresss they get connected to. In your routers options there is a way to change, or better put clone your local computers MAC address so it will show up as your routers WAN MAC address. This could in same cases help you get your connection back if it by some unknows reason has been disconnected. . ;)

Another problem when trying to connect online might be the amount of data your router or modem can handle per second. Most problems accure with the modem for this. The modem's upload isn't enough to handle the games load. Or your ISP upload isn't enough. This also depends on the game you are trying to play. Try to set the connection-in-game to 56k if possible.
You can check your upload and download speed at www.bandwidthplace.com.
The values can be a bit of and depend on your location. Although never the less they will offer a good indication of your connection speed.

possible reading link :
http://www.practicallynetworked.com/support/gaming_help_pg2.htm

[attachment deleted by admin]
« Last Edit: November 29, 2003, 02:13:54 am by gryphon »
Expect anything, and life will become boring...