Welcome to GamerzLife. Please register or log in. Please try to be as active as possible. Thank You, Please Donate to help us out. And get VIP or Donator Status. And help support our upcoming Private Server. Thank You!

The Only Way to Game
HomeHome  HomeHome  RegisterRegister  Log inLog in  
Log in
Log in automatically: 
:: I forgot my password
 User Cp
 GamerzLife VIP
Forum Status
hit counters
Since Sunday June 14, 2009
Latest topics
» How to save your time in finding a good web design team.
Tue Mar 15, 2011 2:20 am by MelissaGods

» what xp you need for next rank guide
Fri Jul 17, 2009 5:23 pm by odosama01

» Howz it goin?
Fri Jul 17, 2009 5:22 pm by odosama01

» Rohan Gaming Quality
Fri Jul 17, 2009 5:20 pm by odosama01

» Too Many Hackers on SF...
Fri Jul 17, 2009 5:17 pm by odosama01

» Go to
Fri Jul 17, 2009 5:11 pm by odosama01

Mon Jul 13, 2009 7:41 pm by Resistance

» Tales of Vesparia can take u a while...
Mon Jul 13, 2009 1:53 am by j u s t i n

» hey guys add me on here
Fri Jul 10, 2009 11:16 pm by odosama01

Top posters
j u s t i n

Share | 

 COD 4 Private Server Tutorial

Go down 
Founder & Owner
Founder & Owner

Posts : 120
Points : 264
Join date : 2009-05-08
Age : 28
Location : My Computer

PostSubject: COD 4 Private Server Tutorial   Thu May 21, 2009 5:49 pm

Part 1 ~

First you need to make sure you have the correct ports forwarded if you are behind a router. You also need to make sure that your software firewall isn’t blocking cod4 which will be named as ‘iw3mp.exe’ in your firewall’s program settings/exceptions.

For your router you will need to forward ports:


For a good guide on how to do this for a specific router you can check out this site. The site lists pretty much all common routers that you’ll most likely be using. All you do once your on the site is look for your specific router from the list and click on it. Then the next page will show a ton of games, just look for call of duty 4 and click on it. You should see a short guide on how to port forward for your router on that page. It’s pretty simple; note that it will most likely only show you how to forward port 28960 but you also need to forward 20800 and 20810 as mentioned earlier. So just repeat the steps that you did for 28960 (one other way to get around this is to just put your router in DMZ mode which basically places your computer outside of it’s internet gateway. I wouldn’t recommend doing this as it could make your computer vulnerable. Handy though if you can’t be bothered to forward ports manually).

Once you have your ports forwarded for your router and your software firewall is allowing cod4 access to the internet then you can move onto the next part of this tut.

Part 2 ~

Ok, this part is easier than the first part. Hopefully you didn’t have too much trouble setting up your router (probably the hardest part). In order to get your server going you need to make a config. For your convenience here is one setup up for you: Dedicated.CFG

Download that cfg (right click save as) and open it with notepad or wordpad and then just change the server name along with rcon and save. Once you’ve done that place the dedicated.cfg file in your call of duty 4 main folder.

Default is C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\main.

Part 3 ~

Now that you have your cfg edited and placed in the right directory you need to make another shortcut for iw3mp.exe on your desktop and rename it to dedicated server or whatever you want really. This is so that you have two shortcuts to the ‘iw3mp.exe’, one for playing cod4 normally online and the other for your dedicated cod4 server. So now with your shortcut for your server you have to right click it and click properties.

Where it says “Target” you have to place this line: +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate after iw3mp.exe so it should look something like this:

“C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe” +set dedicated 2 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate

Then click apply. Note, that if it doesn’t let you apply and gives you an error then you’re doing something wrong.

Ok, after all that your server is pretty much setup and all you have to do is double click on the shortcut you made earlier. There is just one more thing you need to figure out or perhaps two?… that is, your ip which is pretty easy. Just google my ip and you should find it no problem and also how to make your ip static so that people can find your server at any time without your IP changing everytime you reconnect to the internet (provided your server is running). For those with a static IP you’re ok but i doubt anyone reading this tut will have a static IP as most of us are using dynamic IP’s set from our ISP’s end that change each time we connect to the net or when our computer/router is restarted.

If you’ve done all that, you can simply click on your server shortcut and a cod4 console window will open. This is totally normal and means that your game is running in dedicated server mode.

You’ll now be able to tell your friends your server ip, which is obviously your ip and port 28960 next to it. If you want to setup a static DNS/IP please read on.

Part 4 ~

To overcome the dynamic IP problem mentioned earlier you can create an account at and setup a managed DNS account. After which you will need to download their software and install it on your computer.

So follow these steps:

1. Create an account at

2. Login to your account

3. Once in your account click on ‘Add’ which is under Hosts/Redirects on the left navigation.

This image has been resized. Click this bar to view the full image. The original image is sized 717x394.

4. Think of a host name and type it in the hostname field under host information in the middle.

This image has been resized. Click this bar to view the full image. The original image is sized 717x435.

5. Pick a domain name of your choice from the drop down list.

6. Make sure your IP is shown in the ‘IP Address’ field

7. Now just click on the ‘Create Host’ button at the bottom.

8. Next you download their software.

9. Install and run the program, then login to the program.

10. It should automatically find your account with your host that you just set up at their site:

Just tick the box next to it and that’s it, your ip will now be resolved from the host you just made. You’ll notice in the picture above that i made one called ‘’ so now everytime i start up a server on my computer
i just run the no-ip software and the domain will allways be my server’s ip. So basically my server ip is and you should be able to connect to it if i have my server running.

Hopefully everyone who reads this tutorial understands it fully and is able to get their server up and running with no probs.

i did this on both my computers

pretty fun if people god more servers open.
Back to top Go down
COD 4 Private Server Tutorial
Back to top 
Page 1 of 1
 Similar topics
» There is only one realistic way to bring chaotic back...
» No server response
» Terminator- 2012 Year Base book (Private book, now public)
» Curl Tutorial!
» New online chess server,

Permissions in this forum:You cannot reply to topics in this forum
GamerzLife :: The GamerzLife Forums :: Online Gaming :: Call of Duty-
Jump to: