Deploy Counter-Strike: Global Offensive with One-Click Apps

Updated by Linode Contributed by Linode

Contribute on GitHub

Report an Issue | View File | Edit File

Counter-Strike: Global Offensive One-Click App

Counter-Strike: Global Offensive (CS:GO) is a fast-paced first person shooter. Teams compete against each other to complete objectives or to eliminate the opposing team.

A competitive match requires two teams of five players, but hosting your own server offers you control over team size and server location, so you and your friends can play with low latency. Up to 64 players can be hosted on a single server.

Deploy a CS:GO One-Click App

One-Click Apps allow you to easily deploy software on a Linode using the Linode Cloud Manager. To access Linode’s One-Click Apps:

  1. Log in to your Linode Cloud Manager account.

  2. From the Linode dashboard, click on the Create button in the top left-hand side of the screen and select Linode from the dropdown menu.

  3. The Linode creation page will appear. Select the One-Click tab.

  4. Under the Select App section, select the app you would like to deploy:

    Select a One-Click App to deploy
  5. Once you have selected the app, proceed to the app’s Options section and provide values for the required fields.

The CS:GO Options section of this guide provides details on all available configuration options for this app.

CS:GO Options

You can configure your CS:GO App by providing values for the following fields:

Field                         Description
Game Server Login Token A Steam game server login token. This is required to publicly list your server. To get a Steam Token, visit the Steam Game Server Account Management page. Required.
RCON Password Password for RCON, a protocol which allows CS:GO administrators to remotely execute commands on the game server. Password must be at least 6 characters and contain each of the following characters: uppercase, lowercase, numeric, and special character. Required.
SSH Key Your SSH public key. The public key will be stored in the /root/.ssh/authorized_keys file on your Linode, and you will be able to use it to login as root over SSH. Advanced Configuration.
Server Name Your CS:GO server’s name. Advanced Configuration.
Message of the Day The message of the day text that is displayed whenever a player logs on to the server. Advanced Configuration.
CS:GO Server Password The password for the CS:GO server, if you want to make it password protected. Password must be at least 6 characters and contain each of the following characters: uppercase, lowercase, numeric, and special character. Advanced Configuration.
Team Balance Enabled When enabled, automatically balances the number of players on a team. Advanced Configuration.
Round Time Limit The time per round, in minutes. Advanced Configuration.
Maximum Rounds The maximum amount of rounds before the map changes. Advanced Configuration.
Buy Anywhere When enabled, allows teams to buy equipment from outside buy zones. Advanced Configuration.
Friendly Fire Enabled Friendly fire allows teammates to damage and kill each other. Advanced Configuration.

Linode Options

After providing the app specific options, provide configurations for your Linode server:

Configuration Description
Select an Image Debian 9 is currently the only image supported by the CS:GO One-Click App, and it is pre-selected on the Linode creation page. Required.
Region The region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
Linode Plan Your Linode’s hardware resources. Your CS:GO server should be sized based on the amount of traffic you are expecting on your server. Higher-tier plans may also provide better network game performance than lower-tier plans. We recommend using a 4GB Linode as the minimum plan for CS:GO servers. If you decide that you need more or fewer hardware resources after you deploy your app, you can always resize your Linode to a different plan. Required.
Linode Label The name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
Root Password Create a root password for your Linode in the Root Password field. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Required.

When you’ve provided all required Linode Options, click on the Create button. CS:GO should complete its installation between 5-15 minutes after your Linode has successfully provisioned.

Getting Started after Deployment

After CS:GO has finished installing, you will be able to access your game server by connecting to its IP address. To find your Linode’s IPv4 address:

  1. Click on the Linodes link in the sidebar. You will see a list of all your Linodes.

  2. Find the Linode you just created when deploying your app and select it.

  3. Navigate to the Networking tab.

  4. Your IPv4 address will be listed under the Address column in the IPv4 table.

  5. Copy the IPv4 address.

  6. In CS:GO, use the back tick key (`) to open the developer’s console. Type connect 192.0.2.240 and click Submit, where 192.0.2.240 is the IP address of your Linode:

    The CS:GO developer's console.

  7. If pressing the back tick key does not bring up the developer’s console, you might need to enable it in the settings. Under Game Settings choose Enable Developer’s Console and select Yes:

    Enable the developer's console if it is not currently enabled.

Software Included

The CS:GO One-Click App will install the following required software on your Linode:

Software Description
Counter-Strike: Global Offensive Game server.
LinuxGSM A command line tool for the deployment and management of Linux game servers.
UFW Firewall utility. Ports 27015, 27020/udp, 27005/udp, will allow outgoing and incoming traffic.
Fail2ban Fail2Ban is an intrusion prevention software framework that protects computer servers from brute-force attacks.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

Join our Community

Find answers, ask questions, and help others.

comments powered by Disqus

This guide is published under a CC BY-ND 4.0 license.