|
|
Router Setup Medal of Honor Allied Assault, Spearhead, Breakthrough, Pacific Assault Call of Duty and Call of Duty 2 and many other games. Once you know the specific port number for the game you are working with, the changes to the router would be the same (just different port numbers)
Routers There are several brands and types of Routers, but I have had success with the Linksys and the DLink Routers. Both are very easy to setup, and they support all of the requirements for setup and support of these game servers. In addition, a technical background is not necessary (which meets my needs).
If you are going to purchase a router, make sure it supports protocols for TCP and UDP, and make sure it support the capabilities for opening port ranges. In the Linksys router, this is called Forwarding and in some other routers the “Virtual Server“ function is the place to setup the ports. Gamespy and these games communicate through TCP and UDP ports so it is important that your router allow for this. If you already have a router that does not support UDP, you may be able to put your server in the DMZ, but this defeats the firewall capabilities of a router.
For the setup of a Linksys or DLink Router, you access the router settings through your web browser, put in the address of http:// followed by the appropriate IP address for your router.. The default for Linksys has been 192.168.1.1 and the default for DLink has been 192.168.0.1 The manual that comes with your router walks you through the setup, and the basic settings allowing you to establish your home network. However, the manual will not help you in the setup of the games.
For the Medal of Honor Games and for GameSpy, you need to open "ports" on your router so that other gamers, servers, and GameSpy can see your server and connect properly.
With the Linksys Router, you access the router address, go to the Advance Tab, and then select the Forwarding Tab. With the Dlink router, you access the router address, click on the Advance Tab. In other routers, try looking for “Virtual Server” setup. You input the port address ranges listed below, and the internal IP address (LAN IP) of your server, then save the settings. See image examples of the Linksys and Dlink routers below.
For some routers, the lines for entry of ports is limited (Linksys). In the chart below, the ports necessary are listed separately in most cases, but in your router you can enter a larger range within one line. For example, if playing MOHAA, Spearhead, and Breakthrough, forward ports from 12201 to 12218 in one line.
Also, some ports noted below call for the TCP and UDP protocols. Your router should have the option to select the protocol, and hopefully have an option for "Both" or “ALL“. Using both or all allows you to open ports for TCP and UDP using one entry in the router.
If you do not know anything about IP addresses in a home network, see my Home Network setup page for some very basic information. On this page, you will find information about the IP addresses maintained by your router (LAN or Local Area Network), and you will find some information about the external or internet IP address (WAN or Wide Area Network). This should get you started.
|
|
For all game types, make sure to open / forward the ports for GameSpy to open it up for players to find. Then open the ports for the game type noted below.
| GameSpy (for all game types) |
Port Range |
| Description |
Protocol |
From |
To |
| GameSpy Custom UDP Pings |
TCP & UDP |
13139 |
13139 |
| GameSpy Master Server UDP Heartbeat |
TCP & UDP |
27900 |
27900 |
| GameSpy Master Server List Request |
TCP & UDP |
28900 |
28900 |
| GameSpy Connection Manager & Search |
TCP & UDP |
29900 |
29900 |
| GameSpy GP Search Manager |
TCP & UDP |
29901 |
29901 |
| GameSpy Query Port |
TCP & UDP |
6500 |
6500 |
| GameSpy Dplay UDP |
TCP & UDP |
6515 |
6515 |
| GameSpy Voice Chat (optional) |
TCP & UDP |
3783 |
3783 |
| GameSpy IRC chat (optional) |
TCP & UDP |
6667 |
6667 |
| Medal of Honor Allied Assault (MOHAA) |
Port Range |
| Description |
Protocol |
From |
To |
| Allied Assault Monitoring Port |
UDP |
12201 |
12201 |
| Allied Assault Alternate Game Port (Opt. w/net port) |
UDP |
12202 |
12202 |
| Allied Assault Default Server Port |
UDP |
12203 |
12203 |
| Allied Assault Alternate Port (Opt w/net port) |
UDP |
12204 |
12210 |
| Allied Assault Master UDP Query Port |
UDP |
12300 |
12300 |
| Medal of Honor Spearhead (MOHSH) |
Port Range |
| Description |
Protocol |
From |
To |
| Spearhead Monitoring Ports |
TCP & UDP |
12203 |
12218 |
| Spearhead Master UDP Query Port |
UDP |
12300 |
12300 |
| Medal of Honor Breakthrough (MOHBT) |
Port Range |
| Description |
Protocol |
From |
To |
| Breakthrough Monitoring Ports |
TCP & UDP |
12203 |
12218 |
| Breakthrough Master UDP Query Port |
UDP |
12300 |
12300 |
| Medal of Honor Pacific Assault (MOHPA) |
Port Range |
| Description |
Protocol |
From |
To |
| Pacific Assault Monitoring Ports |
UDP |
13200 |
13200 |
| Pacific Assault Monitoring Ports |
UDP |
13202 |
13202 |
| Default Pacific Assault Server Ports |
UDP |
13203 |
13203 |
| Secondary ports if default is full |
UDP |
13204 |
13218 |
| Pacific Assault Server Ports |
UDP |
13300 |
13300 |
| Pacific Assault Server Ports |
UDP |
27910 |
27910 |
| Pacific Assault Server Ports |
TCP |
18020 |
18020 |
| Pacific Assault Server Ports |
TCP |
28910 |
28910 |
| Pacific Assault Server Ports |
TCP |
29920 |
29920 |
| Call of Duty (COD and COD2) |
Port Range |
| Description |
Protocol |
From |
To |
| Call of Duty CD Key Validation |
UDP |
20500 |
20500 |
| Call of Duty Master Server Monitoring / Browser |
UDP |
20510 |
20510 |
| Call of Duty Master UDP Port |
UDP |
28960 |
28960 | (Don't forget the Gamespy Ports!) |
|
Static IP Address vs. DHCP If you are using DHCP on your router (dynamic IP address assignment), please understand that your internal IP address assigned to your server may change when you reset your modem or router.
For example, when you setup your network and server, the IP address for you server may have been 192.168.1.102, assigned by your router through DHCP. You would then open all of the above ports for this IP Address.
If you reset your Router, there is a very good chance that DHCP will assign IP addresses differently for each PC, including your server. If you had originally forwarded the game ports to 192.168.1.102 which was your server, it is possible now that the server has a new IP address such as 129.168.1.103. Therefore, the ports opened on the router no longer match up with IP of your server, so your server will no longer be visible on the internet. This can be really frustrating if you reset equipment.
If you reset the router, access the router and display the DHCP listing to make sure that the internal IP address for your server is the same address that is being used for port forwarding or Virtual Server setup in the router.
Linksys Router Example: If you are using a Linksys router, your screen may also look different, depending on the version of firmware you are using. The IP Addresses on the screen depends on how you have setup your router, so for this example I am showing more of a default look (not actually what I use for my setup, but the port forwarding is the same).
Please note on the first line in this example, the port range covers Allied Assault, Spearhead, and Breakthrough! |
|
Here is an example for a Dlink 704-P Router, and the Dlink 604 Router is the same. On your router, you will see many more lines for default ports that may or may not be needed. The entries are put there by DLink as defaults, and if you do not have room to add ports for the game, you can delete lines that are not used or enabled. For example, you may see FTP, Web, or POP entries there. These are intended for if you were running a web server or email server. They can all be removed if you are not using them (by default, none of them are enabled). In this example image, I removed all of the default settings, and I added in only the port settings for Medal of Honor Allied Assault (covering the range). One entry here shows a range of ports, and the second entry has a single port. However, to make the server visible on the internet, all of the ports for Gamespy also need to be added on this screen, and enabled. See port numbers in the charts above. |
|
|

Question: Hey, I just cannot figure out how to access my router to open ports. I really want to get my server running. Thanks, Clueless.
Answer: Dear Clueless, This model may do serious damage to your server. Consider using a Linksys or Dlink router to get started.
At TMMworld, beginners are welcome. If you have any questions about routers, home networking, IP addresses or the games on this site, please feel free to post on our forum. The above router is a little out of our scope, but we have experience with several others. hehe. |
|
|