Saturday, January 15, 2011

How to run a CS(Counter Strike) server from home

Wanna play Counter Strike with your clan?and no arrangements for the LAN party then this tutorial might helpful for you,run your private CS server from your home and play with your mates despite anywhere they are.It's pretty easy to do that,you just need.........

1. half-life server (HLDS) properly installed in your computer.
2. A properly forward port.(so you are visible to outside world)
3. A free dynamic IP forwarding service (if you don't have a static IP)

And thanks to all copy cats out there,the internet is flooding with the tutorials for 1st step,but still if you can't find one here it is
(NOTE: i am a proud member of this site,so no i am not a copy cat)

2. port forwarding
If you are using a router/modem then you are behind the walls and others can't see you,so that's why he have to port forward the modem/router,so others can connect to your application using that port.
Check what kind of connection type you are using "bridge mode" or "PPPOE"
bridge-mode : you dial every-time from your PC to connect to internet.
PPPOE mode : you are always connected to internet,unless your modem is not switched off.
  If you are using bridge mode follow this steps otherwise skip to ☻
While your modem switched on and LAN properly connected type into your internet browser (no matter it's firefox,ie,chrome or opera) your modem's login window will appear type "admin" in both username and password that's by default but if you already changed it and forget then reset your modem to factory setting by pressing and holding small button,somewhere behind or bottom of your modem.

Once you are in,try to find something similar to "internet connection configuration" mine is inside configuration->internet

The first one is bridge mode connection and second one (marked also) is PPPOE mode connection which we need,click on add button......

something similar will open now as you can see,in mine VCI is 35 because i am using BSNL as my ISP and   35 work on that,if 35 not works for you try 38.Leave service category = UBR without PCR,and click on next.....
choose "PPP over ethernet" form the option leave everything else unchanged and click on next...
configure this same as per image and click on next.....
In this field you can use anything for the Service Name but your username and password should be correct as your ISP provided and select always on.
Now your modem is set to PPPOE mode and every time you switched it on,it will connect to internet directly but you have to configure your LAN settings to use it.
Go to your LAN connection properties then TCP/IP properties and select "use following IP" and enter an IP address for your computer in the format 192.168.1.X ,In "default gateway" enter your modem's IP and click ok.
Restart your modem,wait untill DSL LED gets constant and try to open any website just to check everything went OK and you are able to access internet.

Open your modem configuration again by entering in browser,login again,now try to find something like  "Advanced Security"
This thing is hidden in some modems like mine and i have to enter "" manually to open "advanced menu". If you are also not able to find it take some help from
and once you find it you will see "port forwarding" some where in it.
In my modem the "half life server" is already given in games but if not in yours just use "user defined"and enter a name for it like CSserver,"WAN interface" will be ppoe_0_35 or ppoe_0_38 whatever you are using,In
"Forward to Internal Host IP Address:" enter IP of your computer which you wanna make server in my case it's
in Protocol choose TCP/UDP and for all 4 ports enter 27015 you can use other HL supported ports too but as this one is standard we are using it.Click apply and your port 27015 is now forwarded.

3.IP forwarding (if you don't have a static-IP)
 There are many sites who provide free IP forwarding but my personal fav. is it's free but you must use your host atleast once in 60 days to keep it running .Just go to  and once you are registered click on "add host" option and choose a name which suite you for example mine is "" once you are done with creating host go and download No-IP DUC from this tool updates your current IP to the No-IP server.You are almost done open No-IP DUC ,login with your username and password and select the host name you created.
(Note: Whenever you run the server,make sure you are running No-IP DUC too otherwise your IP will not updated to your host) 
All settings done here,lets test your server run hlds.exe (configure all server settings correctly)
along with the No-IP DUC,make sure internet is working fine,now you can call your friends and tell them to join the server by typing
connect [your host name]:[port]  example ""
NOTE: static IP users use this
 connect [your ip address]:[port]  example ""
in console or by adding it to "favorites" in find server option. you can join your own server in same pc using hl.exe and play with your friends. 
I hope this post will help you to creating your own server,also check my another post it's all about administrating a CS server


  1. This is a nice article..
    Its very easy to understand ..
    And this article is using to learn something about it..

    c#,, php tutorial

    Thanks a lot..!


Like this post? let me know just leave a comment..