
Warning
This is a fairly advanced topic for most people. It is not exactly easy, and the chances of your router being ok for a server are somewhat slim. Please do not waste your time trying this frustrating yourself and leave a bad stamp on here if you do not have basic networking experience. This may take some time, so be patient. If you need help, just message me, my steam name is somewhere at the bottom. Good luck.
Untitled 1
This is an in depth tutorial on how to make a server, long but it explains
everything pretty well. Also this makes a server that starts outside of the
game, not the one in game.
I made this tutorial using vista so xp isn't explained as well. This is for
windows only, not sure about Linux or any other OS.
The next two paragraphs are long and not important, just informative, you don't
necessarily have to read them but I advise you to.
There is one way to make a server that doesn't involve opening ports, or messing
with IP's, but of course there is a cache. If you go to your router page, and
find the DMZ section, you can enable DMZ mode on your IP's address. Now what
this does its completely takes off the router for that IP’s, so you don't have
to open ports or anything, you can just run a server and it works. There is a
cache....Steam doesn't work in DMZ mod, so you have to log in and then turn DMZ
mode to even have steam working. Then if you try to go and find a server it
finds them very slowly, and only finds ones that have an extremely low ping. So
if you searched even a popular map like dust2, it will find about 2 or 3. I
advise you only use this if you have a dedicated server (the pc thing) and are
not going to be using it for playing on. I use it only because my router is one
of those really gay ones that don’t let you open up enough ports, so it's the
only way but it's really annoying.
One more thing you should know. If you are making a server on a computer you use
to play cs or css, the ping can get pretty high. I advise you not to go above 12
slots because it will get pretty laggy. The best thing to do without actually
renting a server is using a server (this kinda of server is the thing that runs
desktops, the big box that hooks into the monitor). You hook the server up to
some screen and install Linux on it (it's an operating system, like windows but
it is free). Then you make the server and run it. Then unhook the screen and
just go and put it somewhere out of the way just plugged into the wall and you
will have a faster server that doesn’t stop. Like if you have it on your
computer you use to play cs, you might have to restart or shutdown your computer
for various reasons.
K well I’m done talking about the server making, here’s how to actually do it...
Makin a Server behind a Router
1. MAKING THE SERVER
a. If you haven't, read the tutorial,
1.6
,
Source. this will get a server started but if you’re behind a router it
won't work, you've probably figured that out.
>NOTE- Some routers will not let you open up enough ports to run a cs server, it
will tell you when you click your router if it does. Also the link above will
sometimes not work because the site closes down occasionally for some reason. If
so then you can use this link
http://storefront.steampowered.com/download/hldsupdatetool.exe
2. FORWARDING THE PORTS
a. You can forward the ports with the help of
this site
b. When you get to the site go down ad find counterstrike on the list and click
it
c. If you don’t already know your routers name go to where ever your internet
stuff is and find your router and look at the bottom, usually it will say
something like SMC 7004ABRv2 or D-link 504Gv2. Once you find your routers name
go down the list and find it there and click it.
d. Next you must setup a static IP’s address if you already have one and know it
skip this step. Find where it says "Take a look at our Static IP Address
guide...."
Click the "static IP’s address" part and follow the instructions to get a static
IP’s. The tutorial should be self explanatory. At the bottom it should have
blanks where you enter your gateway and your regular IP’s address Once you fill
those out, it should give you 5 static IP’s, write down the first 2 of them.
>NOTE- Some routers do not need a static IP’s, if so it will not have a link to
set one up. It will tell you on the page what to type in to the address bar.
d. after you get your static IP’s, go to the address bar and type you regular
IP’s address, the one where the last number is one digit not 3. So 102.168.0.1
not 102.168.0.101
>NOTE- Some routers have their own site instead of just the IP’s. If it does it
will say an internet site instead of the numbers; example: gateway.2wire.net
e. The site should guide you through the steps to open the ports
>NOTE- If you type in your IP’s and it asks for an username and pass and it’s
not the default one they tell you on the site and you don’t know it, there’s one
thing you can do...
It’s a little extreme but if you know what you’re doing it can work. Grab a
paper clip and bend it so the end is strait, then go to your router and find the
restart button, it’s usually in a tiny whole and very small; push it down for at
least 20 seconds. Go back to the username and pass page when your internet
recovers and just enter the default username and pass. It should log you in and
then you can go on and do the instructions!
3. ENTERING WAN IP
>NOTE- The first part is a little different for xp, just skip the first 2 steps
and instead just find your internet connection and right click and press
properties)
a. Vista- First go right click internet connection button that looks like two
computers on the right side of the toolbar and then go to network and sharing
center
b. Vista- then where it says wireless connection (your router) to the right of
that and click view status
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>NOTE- READ THIS PART CAREFULLY!!If you try to read through this and the server
doesn’t work, make sure you read it right!!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
a. click the button properties(not wireless properties)
b. in the list double click "internet protocol version 4 (tcp/ipv4)"
c. it will probably say obtain an IP’s address automatically, go to the next
choice and hit use the following IP’s address
d. now go near the bottom right corner and click advanced...
e. in the IP address box click add
f. enter the IP’s address you used in the private IP’s address box when you
forwarded the ports(your static IP’s address)and the gateway should go in there
automatically and click add
g. click add again and this time enter your external IP’s(go
here to find it out) and the gateway should
go in there automatically too and
click add
_____________________________________________________________________________________________________________________________________________________________
If your internet is completely screwed up after this, the best thing is go back
to the IP’s box section and hit the "get IP’s address automatically" circle and
do the same for DNS
If this does not work and your internet is still f'd up, then go to your router,
and push down the reset button for 20seconds. After your internet turn back to
normal, go back and check that you had the right external IP’s, static IP’s, and
DNS.
Check external: link
Check DNS: go to command prompt and type in ipconfig /all and find DNS servers
Check Static IP’s:
XP or
Vista
_____________________________________________________________________________________________________________________________________________________________
4.Run HLDS and make sure in the network section it says internet not LAN, for a
cmd just type sv_lan 0 in the console
>NOTE- If you open your server and it says something like could not establish
connection to steam servers in the console, go back to the router page and make
another port open. Name it CS4 and open the UDP port 26901-26901
To test it just give your friend the IP’s you got from whatsmyip (external IP’s,
NOT STATIC) and see if they can connect to it.
Please post a comment (good hopefully) or put a stamp thingy
If this does not work or is too confusing just message me in aim:
x1800jon
or steam:
brownj37
|