First off, to create a server, you need additional files. The main executable of them being the “hlds.exe”, and if this one’s present, we must assume that the other prerequisites are present too, (including swds.dll, which is like a patch that allows non-steam clients.) If not present, just search for them, and download them.
Creating a server on a machine is no big deal. All you have to do is run the HLDS, and fill in the slots with whatever you wish, (who am I to limit the max no. of players on your server?) _and I assure you that the slot for _Server Name _can carry anything. However, in the _“UDP Port” _slot, type “27015” since it’s the preferred (actually most-widely-used) port for CS. The Server’s up the moment you click But the thing is that the server’s local. It’s accessible only on your PC and on other computers on the same network, but not globally accessible over the internet. _So how do we make it global?
That’s what we forward the ports for. To do so, login to your router, by typing the router’s IP address into the browser. TP-LINK users may consider this a complete step-by-step guide, though of course this applies to all, however different ones have slightly different UIs.
Anyways, once logged in, goto Forwarding and then to Virtual Servers,_ _and click on . A form should greet you. Now in the Service port slot, type “27015”, (if there’s an “_internal port” _slot, leave it blank.) The rest can be left to the defaults, however in the IP Address Slot, type in your computer’s ipv4 address, and it should be static (unless you are looking forward to having to go through the whole damn procedure again and again.)
After inputting the IP, save the changes and now you are good to go.
Now others can connect to your server by typing into their CS consoles:
(Replace ‘xxx.xxx.xxx.xxx’ with your router’s global IP address. To find out the global IP, the quickest and easiest way is to visit whatsmyip.org.)