How to Setup Counter Strike Dedicated Server on Windows Azure Virtual Machine


To setup Counter Strike Dedicated Server on Virtual Machine running on Windows Azure you have to perform 10 steps. This blog post is going to explain all them in detail.

1. First thing you should grab is Windows Azure Account. If you dont have one, you can create trial. More information about creating Windows Azure Account you can find on Windows Azure Portal.

CSWindowsAzureSl1

2. Create Virtual Machine on Windows Azure. Choose New From Bottom Bar and Choose: Compute->Virtual Machine-From Gallery (see pic below).

CSWindowsAzureSl2

3. From List of Virtual Machine Select Windows Server 2012.

CSWindowsAzureSl3

4. Setup Name of VM, default username and password, and follow instructions. After you finish with VM, by clicking Finish button, Windows Azure will create your VM in few minutes. If you need more information how to setup VM on Windows AZure please follow instruction on this link.

5. Download RDP Connection from Windows Azure Portal and connect to you Machine (See picture below).

CSWindowsAzureSl4

6. Open your Windows Server VM and Install Counter Strike. After installation go to Counter Strike Folder and Run hlds.exe to cretae Dedicated Server.  Fill the fields with the required information and choose Start Server.

CSWindowsAzureSl7

Now your dedicated server is running but no one can access it yet. We need to open default UDP port 27015 on Windows Firewall, as well as create endpoint on Windows Azure Portal.

7. Open Windows Firewall and Create Incoming and Outcoming Rule for UDP Port= 27015.

CSWindowsAzureSl5

8. Go to Windows Azure Portal and create Endpoint for this UDP Port.

CSWindowsAzureSl6

9. This is all you need to create. Go to Client PC choose Add Server and put public IP adress:27015  of you Windows Azure Machine or VMName.cloudapp.net:27015.

10. Invite your friends to play the Game by providing them with the  IP and the UDP Port.

Enjoy.

About Bahrudin Hrnjica

PhD in Mechanical Engineering, Microsoft MVP for .NET. Likes .NET, Math, Mechanical Engineering, Evolutionary Algorithms, Blogging.

Posted on 18/04/2014, in .NET, Windows Azure and tagged , , , . Bookmark the permalink. 6 Comments.

  1. Me divierte un poco los motivos que blogueas aca, a pesar de que
    el estilo y diseño del pagina consiste en algo sin gracia.
    Indudablemente, Fantastico articulo.

  2.  Una notable facilidad para jugar y beneficiosos graficas de todas formaas
    varios puntos resultan monotonos

  3. anonymous user

    Does this really work?? I have a premium subscription of azure and I didn’t knew whether this could also be done using it.

  4. running a game server under windows is like driving a toyota prius, you just don’t get the performance you want and seriously nuts :-)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s