Counter Strike: Source Server not in steam servers list

OS Name/Version:
*Distributor ID: Ubuntu

  • Description: Ubuntu 20.04.4 LTS
  • Release: 20.04
  • Codename: focal

Product Name/Version: AMP Release “Halimede” v2.4.0.6, built 30/09/2022 14:12

Problem Description:

I am trying to install a fresh instance of Counter Strike: Source. AMP is telling me that the instance is running and listening on the correct IP of my server. iptables states that the neccessary ports (27015 tcp/udp) are open.
But yet I can’t connect to the instance and steam states that the server does not respond:

Screenshot_10

I added a game server token in my steam account for game id 240 and pasted the token in the source server config.

I searched this forum and the web but could not find any working solution to this problem. Surely I am missing a key point here, as I am certainly not the first guy trying to host a cs:s server on AMP

Possible Solution:

Found the culprit:

I added the port to iptables via this command:

iptables -A INPUT -p tcp --match multiport --dports 27015:27050 -j ACCEPT

The problem was the -A as it appends the rules to the end of the rulechain. If you don’t know the state of your chain there may be entries that reject everything as the last rule.

So opening the ports with this:

iptables -I INPUT -p tcp --match multiport --dports 27015:27050 -j ACCEPT

Solved this issue for me. (Also I removed the server token from the instance)

I hope this solves the Issue for some people whoi came here in desperation like me :smiley:

Are you able to connect directly in-game using the connect IP:PORT command on the terminal?