Guide – How To Start – CS: Source Game Server on Red Hat Enterprise 9 on Amazon

How to create and connect to CS: Source Game Server on Red Hat Enterprise 9

After purchasing and starting the VM, you should open ports 27015 TCP and 27015, 27020 (UDP) in the network properties in the Amazon firewall. To connect to the server, you should know its IP address. You can find it in Amazon’s account

  1. To start the server, you just need to start the VM through Amazon Portal. 
  2. Get Token
    • To display the server in the browser list inside the game, you should add GSLT Token to the config file. To create a token, go to the next page under your Steam account: https://steamcommunity.com/dev/managegameservers
    • Enter 240 in the app ID field, enter the text to further identify the token in the Memo field, Then click “Create”.

Copy the received token.

  1. To configure the server, you should connect to the VM and call the game console. To connect to the VM, you should generate a “Private Key” in advance. This can be done using the following instruction (by choosing the “file format:” option “.ppk” in point 3)

Guide – How To – Create and use Key Pair to connect to a VM

  • Download and run Putty
  • Go to the “SSH” section in the left panel and then to “Auth”.
  • In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
  • Go to the home page of “Session”, enter the IP address of the VM and click “Open”.
  • In the opened console you will need to enter the login ec2-user
  1. To manage the server, enter the following commands:

> sudo su (1)

> su gameserver (2)

> cd /home/gameserver (3)

> ./cssserver stop (4)

Open configuration file

> nano /home/gameserver/lgsm/config-lgsm/cssserver/cssserver.cfg

Add parameter to the end of file gslt=”Token” and paste the generated token from section 2 in quotes. To go to the desired line, use the arrows on the keyboard. To paste the copied text, use the right mouse button.

Press Ctrl + X on the keyboard to exit the file. Then, you will be asked to save the changes to the file—press Y on the keyboard to confirm and Enter to overwrite the same file.

Now you should start the server using the following commands:

> ./cssserver start

To manage the server, you can use the commands described in the primary usage tab on the page Deploy Counter-Strike: Source Game Servers.

  1. Connect to your server

To connect to the server, start the “Counter-Strike: Source” game on your PC and press “ ` “ to open the console.

Enter “connect *vm_ip*” (where *vm_ip* is the VM IP address) and click Submit.

Let’s go! Hold your positions. 

Website Built with WordPress.com.

Up ↑